Skip to content

Commit

Permalink
Merge pull request #18 from brightdigit/releases
Browse files Browse the repository at this point in the history
0.1.0
  • Loading branch information
leogdion authored Aug 9, 2020
2 parents b5b6097 + a329442 commit fa134bb
Show file tree
Hide file tree
Showing 128 changed files with 8,551 additions and 200 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/arm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
export DEBIAN_FRONTEND=noninteractive
ln -fs /usr/share/zoneinfo/America/New_York /etc/localtime
apt update
apt install -y curl lsb-release sudo clang
apt install -y curl lsb-release sudo clang git
RELEASE_DOT=$(lsb_release -sr)
RELEASE_NUM=${RELEASE_DOT//[-._]/}
RELEASE_NAME=$(lsb_release -sc)
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -167,3 +167,6 @@ Pods
Brewfile.lock.json
Package.resolved
Documentation/Reference/README.md

*.dump
*.dump.zip
1 change: 1 addition & 0 deletions .swiftformat
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
--indent 2
--header strip
--commas inline
--disable wrapMultilineStatementBraces
--exclude .build, DerivedData
21 changes: 21 additions & 0 deletions Configuration/etc/nginx/sites-available/orchardnest.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
server {
server_name orchardnest.com;
listen 80;

root /home/orchardnest/app/Public;

location / {
try_files $uri @proxy;
}

location @proxy {
proxy_pass http://127.0.0.1:8080;
proxy_pass_header Server;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass_header Server;
proxy_connect_timeout 3s;
proxy_read_timeout 10s;
}
}
7 changes: 7 additions & 0 deletions Configuration/etc/supervisor/conf.d/orchardnestd.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[program:orchardnestd]
command=/home/orchardnest/app/.build/release/orchardnestd serve --env production
directory=/home/orchardnest/app
user=orchardnest
environment=DATABASE_URL='postgres://orchardnest:12345@localhost/orchardnest'
stdout_logfile=/var/log/supervisor/%(program_name)-stdout.log
stderr_logfile=/var/log/supervisor/%(program_name)-stderr.log
7 changes: 7 additions & 0 deletions Configuration/etc/supervisor/conf.d/orchardnestq.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[program:orchardnestq]
command=/home/orchardnest/app/.build/release/orchardnestd queues --scheduled --env production
directory=/home/orchardnest/app
user=orchardnest
environment=DATABASE_URL='postgres://orchardnest:12345@localhost/orchardnest'
stdout_logfile=/var/log/supervisor/%(program_name)-stdout.log
stderr_logfile=/var/log/supervisor/%(program_name)-stderr.log
20 changes: 0 additions & 20 deletions Documentation/Reference/classes/BlogReader.md

This file was deleted.

106 changes: 106 additions & 0 deletions Documentation/Reference/enums/EntryCategory.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
**ENUM**

# `EntryCategory`

```swift
public enum EntryCategory: Codable
```

## Cases
### `companies`

```swift
case companies
```

### `design`

```swift
case design
```

### `development`

```swift
case development
```

### `marketing`

```swift
case marketing
```

### `newsletters`

```swift
case newsletters
```

### `podcasts(_:)`

```swift
case podcasts(URL)
```

### `updates`

```swift
case updates
```

### `youtube(_:)`

```swift
case youtube(String)
```

## Properties
### `type`

```swift
public var type: EntryCategoryType
```

## Methods
### `init(podcastEpisodeAtURL:)`

```swift
public init(podcastEpisodeAtURL url: URL)
```

### `init(youtubeVideoWithID:)`

```swift
public init(youtubeVideoWithID id: String)
```

### `init(type:)`

```swift
public init(type: EntryCategoryType) throws
```

### `init(from:)`

```swift
public init(from decoder: Decoder) throws
```

#### Parameters

| Name | Description |
| ---- | ----------- |
| decoder | The decoder to read data from. |

### `encode(to:)`

```swift
public func encode(to encoder: Encoder) throws
```

#### Parameters

| Name | Description |
| ---- | ----------- |
| encoder | The encoder to write data to. |
56 changes: 56 additions & 0 deletions Documentation/Reference/enums/EntryCategoryType.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
**ENUM**

# `EntryCategoryType`

```swift
public enum EntryCategoryType: String, Codable
```

## Cases
### `companies`

```swift
case companies
```

### `design`

```swift
case design
```

### `development`

```swift
case development
```

### `marketing`

```swift
case marketing
```

### `newsletters`

```swift
case newsletters
```

### `podcasts`

```swift
case podcasts
```

### `updates`

```swift
case updates
```

### `youtube`

```swift
case youtube
```
25 changes: 25 additions & 0 deletions Documentation/Reference/extensions/EntryItem.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
**EXTENSION**

# `EntryItem`
```swift
public extension EntryItem
```

## Properties
### `podcastEpisodeURL`

```swift
var podcastEpisodeURL: URL?
```

### `youtubeID`

```swift
var youtubeID: String?
```

### `twitterShareLink`

```swift
var twitterShareLink: String
```
65 changes: 65 additions & 0 deletions Documentation/Reference/structs/EntryChannel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
**STRUCT**

# `EntryChannel`

```swift
public struct EntryChannel: Codable
```

## Properties
### `id`

```swift
public let id: UUID
```

### `title`

```swift
public let title: String
```

### `author`

```swift
public let author: String
```

### `siteURL`

```swift
public let siteURL: URL
```

### `twitterHandle`

```swift
public let twitterHandle: String?
```

### `imageURL`

```swift
public let imageURL: URL?
```

### `podcastAppleId`

```swift
public let podcastAppleId: Int?
```

## Methods
### `init(id:title:siteURL:author:twitterHandle:imageURL:podcastAppleId:)`

```swift
public init(
id: UUID,
title: String,
siteURL: URL,
author: String,
twitterHandle: String?,
imageURL: URL?,
podcastAppleId: Int?
)
```
Loading

0 comments on commit fa134bb

Please sign in to comment.