Pollen-rock’s development is on github.
Pollen-rock contains server code written in Racket and editor code written in Elm.
Once you’ve cloned the Pollen-rock source, you’re ready to work on the server. If you’re going to work on the server code, make sure you can pass all tests at any time.
raco test pollen-rock/pollen-rock
The following command will clone the repo and install (link) the repo as a local package for development. The installation is a soft link, so any source change can take effect immediately.
$ git clone https://github.com/lijunsong/pollen-rock.git
$ cd pollen-rock
$ raco pkg install -l
If you encounter cache problem, you can run
$ raco setup -l pollen-rock
to rebuild the package.
The documentation of RESTful API is available locally in Racket documentation. The above installation will also build it. Run the following command to open Racket Documentation:
$ raco docs
Then search Pollen-rock. You won’t miss it.
Pollen-rock documentation lives in pollen-rock/scribblings/. To rebuild the document when you make changes, run the following command
raco setup --doc-index -l pollen-rock
Elm development envionrment needs a bit setup. Follow steps described in README.md in the editor folder.