Quick start on Publish Framework by John Sundell
I noticed a tweet by John Sundell announcing Publish. A static website framework he has created to mainly used for his own website Swift by Sundell. It boasts super fast loading time thanks to its static aspect and is built entirely in Swift. Awesome!
First step
$ git clone https://github.com/JohnSundell/Publish.git
$ cd Publish
$ make
Wait for it to finish and then:
$ mkdir MyWebsite
$ cd MyWebsite
$ publish new
You can then use:
$ open Package.swift
To open the project under (most likely) Xcode which will load all the dependencies and index it, giving you a nice environment to work with.
You can also simply use:
$ publish run
And open the website locally at the given address and obtain the following result:
Now, I don’t think I’ll be using it, but I’m very interested to see how this could quickly become a reference in the web world!
Well done John Sundell. 👏