Commit 4c4e1a56 authored by Okhin's avatar Okhin
Browse files

Adding commands to seed the databases

parent d8089cd1
......@@ -50,21 +50,36 @@ Groups have to be initialized with the following command:
You can run migrations with :
$ python migrate
You can seed the database with a provided fixtures
located in apps/rp/fixtures/all_articles.json:
$ python loaddata all_articles.json
## Dev server
To launch the dev server :
$ python runserver
## Tests
To launch tests install requirements-tests.txt
$ pip install -r requirements-tests.txt
$ pytest
Coverage with
$ pytest --cov=.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment