mkdir -p prj && cd prg
git clone https://github.com/HKSenior/Real-Estate-Site.git
virtualenv ./venv
source venv/bin/activate
pip install -r requirements.txt
deactivate
http://postgresguide.com/setup/install.html
sudo -u postgres psql
CREATE DATABASE {your project name};
CREATE USER {admin name} WITH PASSWORD '{your password}';
ALTER ROLE dbadmin SET client_encoding TO 'utf8';
ALTER ROLE dbadmin SET default_transaction_isolation TO 'read committed';
ALTER ROLE dbadmin SET timezone TO 'UTC';
GRANT ALL PRIVILEGES ON DATABASE {your project name} TO {admin name};
\q
python manage.py collectstatic
python manage.py runserver
- SECRET_KEY
- ALLOWED_HOSTS
- DEBUG
- DB_ENGINE
- DB_USER
- DB_HOST
- DB_PASSWORD
- DB_ENGINE
- EMAIL_PORT
- EMAIL_USE_TLS
- EMAIL_FAIL_SILENTLY
- EMAIL_HOST
- EMAIL_HOST_USER
- EMAIL_HOST_PASSWORD
- Scrape real estate information from the internet to populate the listings.