Skip to content
forked from swlkr/janetdocs

A community documentation site for the janet programming language

License

Notifications You must be signed in to change notification settings

felixr/janetdocs

 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Clojure 52.7%
  • CSS 29.3%
  • JavaScript 14.4%
  • Shell 1.9%
  • Dockerfile 1.7%