You don’t need to do this to develop your own template — most people don’t. However, running the server locally will mean you can work on your template with less latency than using the template editor.
Use nvm to install node v16.14.0
and npm 8.3.1. You can verify that you have installed and selected the correct verion:
$ node -v
v16.14.0
$ npm -v
8.3.1
Launch a local redis server:
$ redis-server
You can verify the redis server is running:
$ redis-cli ping
PONG
Use git to clone a copy of Blot’s source code to your machine.
$ git clone https://github.com/davidmerfield/Blot
$ npm ci
$ npm run local
You should then see your blog here:
http://localhost:8081
and the dashboard to configure the settings for that blog here:
http://localhost:8080