Download the lastest package from the release page, extract it, and serve it. E.g. using Python SimpleHTTPServer:
wget https://github.com/singpath/classmentors/releases/download/v0.4.2/classmentors.zip
unzip classmentors.zip
cd classmentors
python -m SimpleHTTPServer 8000
Edit window.SINGPATH.firebaseId
in index.html
to point to the correct
Firebase DB id. By default, the build version points to "singpath"
(our production DB).
To build a minified bundles of the singpath apps and its dependencies:
git clone https://github.com/singpath/classmentors.git
cd classmentors
npm install
npm run build
The bundle will be available in dist/
. To serve it:
npm run serve-build
npm test will run all available tests.