Getting started

Prequisites

Installing

For now, the easiest way to install Gerbil is to do the following:

  1. Clone the repository:
git clone https://github.com/jasonprogrammer/gerbil
  1. Run:
nimble install

This should make the gerbil executable ready for use.

Build the front-end files

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

Run the sample site

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

Comments

June 24, 2020 17:06

Shouldn't Node be mentioned with Nim deps on the home page?

Leave a comment

What color are green eyes? (spam prevention)
Submit