A customizable website template for hackathons run by IEEE University of Toronto Student Branch.
- Aaron Gu
- Ashwin Santhosh
- Mustafa Abdulrahman
- Carmen Chau
- Wahib Barqawi
- Aidan Tran
- Warrick Tsui
- Python 3.9
- Docker + Docker Compose
- Node.js v16
# Create and activate conda environment
conda env create -f environment.yml
conda activate ieee-makeuoft
# Set required environment variables
conda env config vars set SECRET_KEY=123
conda env config vars set DEBUG=1
conda env config vars set REACT_APP_DEV_SERVER_URL=http://localhost:8000
# Reactivate environment
conda deactivate
conda activate ieee-makeuoft# Launch database and cache
docker compose -f development/docker-compose.yml up -d
# Apply database migrations
cd hackathon_site
python manage.py migrate# Compile SCSS to CSS
yarn install
yarn run scss
# Watch for SCSS changes (optional)
yarn run scss-watch# Start Django server (main site)
python manage.py runserver
# In separate terminal - Start Hardware Signout System (HSS)
conda activate ieee-makeuoft
cd hackathon_site/dashboard/frontend
nvm use 16
yarn install
yarn run start-
Main site: http://localhost:8000
-
Admin: http://localhost:8000/admin