Update Readme and Allowed Hosts
This commit is contained in:
parent
ab68716e68
commit
1f350a7990
@ -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.
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user