extend the "make local" command
This commit is contained in:
parent
86cb63a6e9
commit
a30fbd1c63
2
Makefile
2
Makefile
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue