Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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/