Update Readme and Allowed Hosts

This commit is contained in:
Alexander Hosking 2021-11-24 04:56:29 +00:00
parent ab68716e68
commit 1f350a7990
2 changed files with 5 additions and 2 deletions

View File

@ -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.
1.

View File

@ -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