/Primates-Jekyll

Open-source website for sharing knowledge using Jekyll - Old Version

Primary LanguageJavaScriptMIT LicenseMIT

Primates -> Discontinued now moved to Ghost.org

Check Here for the new team

Build the website locally

Primates is meant to be so simple to use that you can do it all within the browser. However, if you'd like to develop locally on your own machine, that's possible too if you're comfortable with command line. Follow these simple steps set that up with Docker:

  1. Make sure you have Docker installed.

  2. Clone your repository locally.

    git clone https://github.com/StanGirard/Primates.git
  3. Run the following shell commands to build the docker image and start the container for the first time:

    cd <repository_folder>
    docker build -t primates "$PWD"
    docker run -d -p 4000:4000 --name primates -v "$PWD":/srv/jekyll primates

Now that Docker is set up, you do not need to run the above steps again. You can now view your website at http://localhost:4000/. You can start the container again in the future with:

docker start primates

And you can stop the server with:

docker stop primates

Whenever you make any changes to _config.yml, you must stop and re-start the server for the new config settings to take effect.

Create an article

Go to Admin Panel