Skip to content

vincerdesk/newsroom

 
 

Repository files navigation

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

About

Superdesk Newsroom a.k.a. Newshub

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 40.7%
  • HTML 27.5%
  • Python 23.6%
  • CSS 8.2%