Content for people that build.

Get started with John Sundell's Publish

Install Publish

Run in Terminal

$ git clone
$ cd Publish
$ make
$ mkdir
$ cd
$ publish new
$ open Package.swift

Run (CMD+R) the project. It will create an Output folder

Run a local HTTP server

$ cd Output
$ python -m SimpleHTTPServer 8080

Now open http://localhost:8080/ in a browser to see your 'Hello World!' website.

Start customizing your website

In Xcode, open Sources > Leontedev > main.swift

Modify the struct's properties to customize your website.

struct Leontedev: Website {

You'll also want to create your own theme. I made a copy of the theme that comes built-in and worked on that one.

You can get inspiration from my own implementation:

Published on 2020-01-16 13:14:00 +0000

Tagged with: