vapor / blog

The Vapor Blog
https://blog.vapor.codes
18 stars 8 forks source link
blog publish server-side-swift swift vapor

Vapor Blog

This is the official code repository for the Vapor Blog.

Install Publish

Make sure you have publish installed:

brew install publish

Creating a new blog post

Open the Swift Package:

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/