]> jfr.im git - irc/freenode/web-7.0.git/blame - CONTRIBUTE.md
Merge branch 'master' into requirements
[irc/freenode/web-7.0.git] / CONTRIBUTE.md
CommitLineData
b854cfc3
SB
1## Dev Requirements:
2
3* [Myth](http://www.myth.io/)
0bd7525f 4* [svgo](https://github.com/svg/svgo)
b854cfc3
SB
5* [cms7](https://github.com/edk0/cms7)
6
0bd7525f
EK
7## Building
8
eacb4ce6 9Install `myth` and `svgo` globally by running `npm install -g myth svgo`.
070e5344 10
eacb4ce6
EV
11Python 3 is needed for `cms7` to work. Make a virtualenv with `pyvenv env`,
12then run `pip install -r requirements.txt` to install `cms7`.
13
14With dependencies installed, just run `cms7` to build. The output files are in
15the `out/` folder. You can run `python -m http.server` in the `out/` folder to
16serve the compiled files, and go to `http://localhost:8000` to see the files.
b854cfc3 17
0bd7525f 18## Git
b854cfc3 19
0bd7525f
EK
20`master` is automatically deployed to https://freenode.github.io/web-7.0/. It
21is also configured to reject commits that haven't had a build succeed in a
22branch or pull request; make one and ideally get someone else to confirm.
b854cfc3 23
0bd7525f 24Branches are cheap; use one per feature.
b854cfc3 25
0bd7525f 26Changes should be tested on both big and small screens.