This is a basic Django application to help start coding using Django in the backend. This project includes a simple implementation of a projects portfolio to show your works.
- Python + Django
- SQLite3
Run the following commands in the root directory. Command:
- Create virtual environment:
python -m venv .venv
- Activate the virtual environment:
source .venv/bin/activate
- Install the dependencies:
pip install -r requirements.txt
- Start App:
python manage.py runserver
- Create Super User:
python manage.py createsuperuser
Migrations
- Run the following lines when needs to manage migrations:
python manage.py makemigrations [app]
: to generate a migration.python manage.py migrate [app]
: to apply the generated migrations.
- Django App: http://localhost:8000/
- Admin: http://localhost:8000/admin