For now, the easiest way to install Gerbil is to do the following:
git clone https://github.com/jasonprogrammer/gerbil
nimble install
This should make the gerbil executable ready for use.
Now that we've installed Gerbil, we need to build the front-end files in the web/ directory.
Run:
cd web
nvm use && npm install && npm start
Next, open up another terminal window, navigate to the cloned directory, and run:
gerbil build && gerbil serve
If you see the following:
INFO Jester is making jokes at http://0.0.0.0:5000
Starting 50 threads
Listening on port 5000
then you should be able to open a browser, and navigate to http://localhost:5000 to browse the running site.
Once you've seen that the site is running, cancel the running process (<ctrl>-c) and let's create some content!
Next: How to add an article
Shouldn't Node be mentioned with Nim deps on the home page?
Leave a comment