Developer documentation¶
Getting started¶
Clone the repo:
git clone git@github.com:tbitai/ruzsa.git
Install dependencies:
npm install
Build in development mode and start LiveReload development server:
npm run dev
Testing¶
A good general test case is to prove the first exercise from Fitch’s first-order video tutorial (available on the Openproof Courseware website’s video tutorials page):
Version bumping¶
Increase
"version"inpackage.json.Add new section to RELEASES.md, following Keep a Changelog and the conventions of earlier releases’ notes.
git tagnew version.
Deploying¶
Build in production mode:
npm run build
Deploy to production…
npm run deploy-production
… or to staging:
npm run deploy-staging
Documentation¶
The documentation is under the docs directory. In the following commands we assume that’s the current directory.
Set up environment according to .readthedocs.yml, installing requirements (Sphinx etc.):
mkvirtualenv ruzsa-docs -p python3.8 -r requirements.txt
Build:
./build_html.sh
Continuous deployment is set up to Read the Docs. On every push to GitHub, deployment is triggered. Two versions are deployed:
/en/stable— the commit with the highest stable (i.e., non pre-release) version tag./en/latest— the latest commit onmaster. This version is hidden, but it can be accessed via the URL (well, or from here 🤓).