Minor improvements to developer docs

This commit is contained in:
Matias Bordese 2022-06-22 14:53:03 -03:00
parent e06f77389a
commit cbb616bfaa

View file

@ -64,7 +64,7 @@ python manage.py createsuperuser
3. Launch the backend:
```bash
# Http server:
python manage.py runserver 8080
python manage.py runserver 0.0.0.0:8080
# Worker for background tasks (run it in the parallel terminal, don't forget to export .env there)
python manage.py start_celery
@ -203,11 +203,20 @@ Credentials: admin/admin
### Running tests locally
In the `engine` directory, with the `.env` vars exported and virtualenv activated
```bash
pytest
```
# in the engine directory, with the virtualenv activated
pytest --ds=settings.dev
You can also install `pytest.xdist` in your env and run tests in parallel:
```bash
pip install pytest.xdist
pytest -n4
```
## IDE Specific Instructions
### PyCharm