Skip to content

IERoboticsAILab/eduwebsite

Repository files navigation

Personal Website

A personal portfolio website built with Django.

🚀 Local Development Setup

Prerequisites

  • Python 3.8 or higher
  • pip (Python package manager)

Installation

  1. Clone the repository
git clone https://github.com/haxybaxy/eduwebsite.git
cd eduwebsite
  1. Create and activate a virtual environment
# Windows
python -m venv venv
.\venv\Scripts\activate

# macOS/Linux
python3 -m venv venv
source venv/bin/activate
  1. Install dependencies
pip install -r requirements.txt
  1. Run database migrations
python manage.py migrate
  1. Create a superuser (admin)
python manage.py createsuperuser
  1. Run the development server
python manage.py runserver

The site should now be running at http://127.0.0.1:8000/

📝 Database Management

Migrations

Create and apply database changes:

# Create new migrations
python manage.py makemigrations

# Apply migrations
python manage.py migrate

Database Backup

# Create backup
python manage.py dumpdata > backup.json

# Restore from backup
python manage.py loaddata backup.json

About

beautiful website for a beautiful professor written in htmx and django

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published