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; \
|
source venv/bin/activate; \
|
||||||
pip3 install -r requirements/local.txt; \
|
pip3 install -r requirements/local.txt; \
|
||||||
|
export DJANGO_SETTINGS_MODULE=network_inventory.settings.local; \
|
||||||
|
./run.sh; \
|
||||||
)
|
)
|
||||||
|
|
||||||
local_test:
|
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.
|
in the future and SQlite is not supported for production.
|
||||||
|
|
||||||
### Local Setup
|
### Local Setup
|
||||||
3. Run `make local` to create a virtual environment.
|
3. Run `make local` to start the development server. You can access it at
|
||||||
4. Run `run.sh` to start the development server. You can access it at
|
|
||||||
http://localhost:8000 . You're now all set to start developing.
|
http://localhost:8000 . You're now all set to start developing.
|
||||||
|
|
||||||
### Docker Setup
|
### Docker Setup
|
||||||
|
|
Loading…
Reference in New Issue