extend the "make local" command

This commit is contained in:
Andreas Zweili 2019-07-13 15:38:21 +02:00
parent 86cb63a6e9
commit a30fbd1c63
2 changed files with 3 additions and 2 deletions

View File

@ -18,6 +18,8 @@ local:
( \
source venv/bin/activate; \
pip3 install -r requirements/local.txt; \
export DJANGO_SETTINGS_MODULE=network_inventory.settings.local; \
./run.sh; \
)
local_test:

View File

@ -13,8 +13,7 @@ inventory over my various servers and other network equipment.
in the future and SQlite is not supported for production.
### Local Setup
3. Run `make local` to create a virtual environment.
4. Run `run.sh` to start the development server. You can access it at
3. Run `make local` to start the development server. You can access it at
http://localhost:8000 . You're now all set to start developing.
### Docker Setup