Home

Awesome

<p align="center"> <img src="https://user-images.githubusercontent.com/9938337/29742058-ed41dcc0-8a6f-11e7-9cfc-680501cdfb97.png" alt="SteamPress"> </p> <h1 align="center">SteamPress Example Site</h1> <p align="center"> <a href="https://swift.org"> <img src="http://img.shields.io/badge/Swift-5.2-brightgreen.svg" alt="Language"> </a> <a href="https://github.com/brokenhandsio/SteamPressExample/actions"> <img src="https://github.com/brokenhandsio/SteamPressExample/workflows/CI/badge.svg?branch=master" alt="Build Status"> </a> <a href="https://codecov.io/gh/brokenhandsio/SteamPressExample"> <img src="https://codecov.io/gh/brokenhandsio/SteamPressExample/branch/master/graph/badge.svg" alt="Code Coverage"> </a> <a href="https://raw.githubusercontent.com/brokenhandsio/SteamPressExample/master/LICENSE"> <img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="MIT License"> </a> </p>

This is an example site for using SteamPress with your Vapor website. You can also just use it as your blog! This example site uses Bootstrap 4 for styling so should be fairly easy to make it look how you want. It also uses Markdown to render the blog posts, and has Syntax highlighting for code (obviously!). This site can be viewed at https://www.steampress.io/.

This site also provides a good example for all the Leaf files you will need, and the parameters they are given, as well as what you need to send to SteamPress to be create users and posts etc.

Features

Usage

To try out (you will need Docker installed):

git clone https://github.com/brokenhandsio/SteamPressExample.git
cd SteamPressExample
./setupDB.sh
swift run

This will create a site at http://localhost:8080. The blog can be found at http://localhost:8080/blog/ and you can login at http://localhost:8080/blog/admin/. The first time you visit the login a user will be created and the details printed to the console.