felixr / janetdocs

A community documentation site for the janet programming language

Home Page:https://janetdocs.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

janetdocs

A community documentation site for the janet programming language

Install janet

The first step is to get janet installed.

This uses homebrew for simplicity, but feel free to come up with whatever vagrant, docker or nixOS thing you'd like:

brew install janet

Get Started

After janet is installed there are a few steps to get this project up and running:

  1. Clone this repo
git clone https://github.com/swlkr/janetdocs.git
  1. Move .env.sample to .env
cd janetdocs
mv `.env.sample` `.env`
  1. Change the github client and secret ids to something real

You can create your own github oauth app or whatever it's called now to get your keys to get github sign in working

  1. Install deps
# make sure you're in the janetdocs directory
jpm deps
  1. Migrate the database
# make sure you're in the janetdocs directory
joy migrate
  1. Seed the database with the docs
# make sure you're in the janetdocs directory
janet seed.janet

And that's it! You should be able to poke around at this point and see what's going on, by default the server starts on port 9001:

# make sure you're in the janetdocs directory
janet main.janet

About

A community documentation site for the janet programming language

https://janetdocs.com

License:MIT License


Languages

Language:Clojure 52.7%Language:CSS 29.3%Language:JavaScript 14.4%Language:Shell 1.9%Language:Dockerfile 1.7%