diff --git a/Makefile b/Makefile index bd788fe..f8fee4a 100644 --- a/Makefile +++ b/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: diff --git a/README.md b/README.md index ddb2cb8..87e059b 100644 --- a/README.md +++ b/README.md @@ -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