mirror of
https://github.com/vapor/blog.git
synced 2025-04-18 14:03:57 +08:00
* Add Toolbox rewrite post * Update to reflect changes to flag options and backwards compatibility * Update Content/posts/toolbox-rewrite.md Co-authored-by: Gwynne Raskind <gwynne@darkrainfall.org> * Update Content/posts/toolbox-rewrite.md Co-authored-by: Gwynne Raskind <gwynne@darkrainfall.org> * Update Content/posts/toolbox-rewrite.md Co-authored-by: Gwynne Raskind <gwynne@darkrainfall.org> * Update Content/posts/toolbox-rewrite.md Co-authored-by: Gwynne Raskind <gwynne@darkrainfall.org> * Update Content/posts/toolbox-rewrite.md Co-authored-by: Gwynne Raskind <gwynne@darkrainfall.org> * Move last line to "Rewriting the Toolbox" * Update Content/posts/toolbox-rewrite.md Co-authored-by: Tim Condon <0xTim@users.noreply.github.com> * Update Content/posts/toolbox-rewrite.md Co-authored-by: Tim Condon <0xTim@users.noreply.github.com> * Move the first line --------- Co-authored-by: Gwynne Raskind <gwynne@darkrainfall.org> Co-authored-by: Tim Condon <0xTim@users.noreply.github.com>
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/
Languages
Swift
100%