Using Python, Django, and PostgreSQL to build a simple blogging website.
- Python
- Django
- Jinja
- HTML
- CSS
- PostgreSQL
- Bootstrap
Install with pip:
pip install -r requirements.txt
Create a .env
file with these configurations:
SECRET_KEY=<your secret key>
EMAIL_HOST_USER=<your email address>
EMAIL_HOST_PASSWORD=<your email password>
DB_NAME=<database name>
DB_USER=<database username>
DB_PASSWORD=<database password>
DB_HOST=<databse hostname>
DB_PORT=<database port>
In the terminal run:
python manage.py runserver
In Django, the default port is 8000
Entry point: http://127.0.0.1:8000