Things can get tiresome when you are using the same language over and over again and I was wondering if there was something else out there I can take up as a hobby while my work provided me the usual features. My friend Gio Noa pointed me to John Sundell's Publish framework which was open sourced late last year.
This post will take you through the installation of Publish and show you how to get a local server running. Consider this post as a series which will get you closer and closer to getting a functional blogging website.
Installing Publish is an easy affair on the command line. Here are the steps to do so:
$ git clone https://github.com/JohnSundell/Publish.git $ cd Publish $ make
These three commands will install Publish into your
Run these next commands (Do not do this in the Publish directory) to create a new Publish project:
$ mkdir MyWebsite $ cd MyWebsite $ publish new
This will produce a Publish project which will do the basic scaffolding of your website. MyWebsite can be a name you choose. Do NOT use Site or Website as these are types used in Publish.
Let's take a look at our new website! It can be done with the following command;
$ publish run
You get a local server running on localhost:8000, open up your browser for choice and enter localhost:8080 into your URL bar.
You should have a basic website in a dark mode theme. Your new website is up and running! The next blog post will discuss the scaffolding of this new website.