-
Create a virtual environment:
python -m venv env
-
Activate the virtual environment:
On Windows:
.\env\Scripts\activate
On macOS/Linux:
source env/bin/activate
-
Install required packages:
pip install -r requirements.txt
-
Make migrations for the
event
app:python manage.py makemigrations event
-
Make migrations for the
home
app:python manage.py makemigrations home
-
Make migrations for the
initiative
app:python manage.py makemigrations initiative
-
Make migrations for the
insight
app:python manage.py makemigrations insight
-
Make migrations for the
team
app:python manage.py makemigrations team
- Apply migrations to the database:
python manage.py migrate
- Populate the database:
python manage.py populate_db
- Create a superuser for the Django admin:
python manage.py createsuperuser
- Start the Django development server:
python manage.py runserver