Skip to content

Latest commit

 

History

History
73 lines (47 loc) · 873 Bytes

README.md

File metadata and controls

73 lines (47 loc) · 873 Bytes

Superdesk Newsroom

Install

pip install -r requirements.txt

And if you want to run tests also:

pip install -r dev-requirements.txt

UI Development install

Use npm (or yarn) to install packages:

npm install

Run application

honcho start -p 5050

Will make it available on http://localhost:5050 by default.

UI Dev Server

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.

Test Python app

There is syntax and code style checker:

flake8 newsroom 

And tests:

python newsroom_tests.py

Test Javascript code

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