Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vapor/blog
The Vapor Blog
https://github.com/vapor/blog
blog publish server-side-swift swift vapor
Last synced: about 2 months ago
JSON representation
The Vapor Blog
- Host: GitHub
- URL: https://github.com/vapor/blog
- Owner: vapor
- Created: 2019-08-28T08:32:28.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2024-08-27T19:48:31.000Z (2 months ago)
- Last Synced: 2024-08-27T21:38:34.665Z (2 months ago)
- Topics: blog, publish, server-side-swift, swift, vapor
- Language: Swift
- Homepage: https://blog.vapor.codes
- Size: 11.2 MB
- Stars: 16
- Watchers: 15
- Forks: 8
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Vapor Blog
This is the official code repository for the Vapor Blog.
## Install Publish
Make sure you have publish installed:
```bash
brew install publish
```## Creating a new blog post
Open the Swift Package:
```bash
open Package.swift
```### Creating file
Now create the file in `Content/posts/my-blog-post-title` and add the new content. Run the Swift Package to generate the new content.
### Spin up local server
To spin up the project locally run
```
publish run
```You can now access http://localhost:8000/