diff --git a/README.md b/README.md index b9d47ed..3c41b42 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,9 @@ The AHosking.com API ## Getting Started ### +1. `sudo apt install libpq-dev python-dev python3-psycopg2` +1. `pip install virtualenv` +1. `python3 -m virtualenv .env` 1. Activate environment `.\.env\Scripts\activate` -1. \ No newline at end of file +1. diff --git a/api/api/settings.py b/api/api/settings.py index a3328d4..bf56579 100644 --- a/api/api/settings.py +++ b/api/api/settings.py @@ -29,7 +29,7 @@ SECRET_KEY = env("SECRET_KEY", default='django-insecure-7uajhmbt^@)mklk1ur=slkmn # SECURITY WARNING: don't run with debug turned on in production! DEBUG = env("DEBUG") -ALLOWED_HOSTS = [] +ALLOWED_HOSTS = ["192.168.1.187", "192.168.1.23"] # Application definition