-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from brightdigit/development
0.1.0 releases
- Loading branch information
Showing
128 changed files
with
8,551 additions
and
200 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -167,3 +167,6 @@ Pods | |
Brewfile.lock.json | ||
Package.resolved | ||
Documentation/Reference/README.md | ||
|
||
*.dump | ||
*.dump.zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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? | ||
) | ||
``` |
Oops, something went wrong.