pip install -r requirements.txt
And if you want to run tests also:
pip install -r dev-requirements.txt
Use npm (or yarn) to install packages:
npm install
honcho start -p 5050
Will make it available on http://localhost:5050
by default.
Sources are located in assets
, in order to use them run:
npm run start
It will start webpack dev server, python app is configured to make use of it.
There is syntax and code style checker:
flake8 newsroom
And tests:
python newsroom_tests.py
Check syntax via eslint:
npm run lint
Or test code using karma & jasmine:
npm run test
for single run, or to watch for changes:
npm run test start