A personal portfolio website built with Django.
- Python 3.8 or higher
- pip (Python package manager)
- Clone the repository
git clone https://github.com/haxybaxy/eduwebsite.git
cd eduwebsite- Create and activate a virtual environment
# Windows
python -m venv venv
.\venv\Scripts\activate
# macOS/Linux
python3 -m venv venv
source venv/bin/activate- Install dependencies
pip install -r requirements.txt- Run database migrations
python manage.py migrate- Create a superuser (admin)
python manage.py createsuperuser- Run the development server
python manage.py runserverThe site should now be running at http://127.0.0.1:8000/
Create and apply database changes:
# Create new migrations
python manage.py makemigrations
# Apply migrations
python manage.py migrate# Create backup
python manage.py dumpdata > backup.json
# Restore from backup
python manage.py loaddata backup.json