Basic theme quickstart
224 words, 2-minute read

To build a site using this theme, ensure you have Node.js version 20 or above installed.
Download the theme #
The theme’s Github repository is available at
github.com/craigbuckler/publican.theme.basic
You can either:
fork the repository and clone it.
git clone git@github.com:<your-id>/publican.theme.basic.git
Install dependencies #
Enter the theme directory and install the dependencies (the Publican static site generator and LiveLocalhost development server):
cd publican.theme.basic
npm install
Run a development build #
To build the site and launch a development server run:
npm start
The log shows the server’s address:
[livelocalhost] development server started: http://localhost:8281/
Open this in your browser and look around the site.
To stop the server, press Ctrl | Cmd + C in the terminal.
Run a production build #
To build a production copy of the site with minified HTML files, run:
npm run build
The files built to the build/
directory can be copied to any web server.