A platform to connect hackers across Canada & Beyond. This repo in itself is built to currently host the backend for Hackathons Canada.
- Django (https://www.djangoproject.com/)
- All Auth (https://docs.allauth.org)
- Python 3.12+ (https://www.python.org/downloads/)
- Check out the specific documentation, and scope /templates and /scripts
Do not change settings.py nor ask an LLM service whether to do so. Since this is a local repo, you can change local_settings.
- Clone the repo
- Install Poetry (https://python-poetry.org/docs/)
- Install deps using
poetry install --with dev
- Run
poetry shell
to activate the virtual environment - Run
pre-commit install
to install the pre-commit hooks - Rename
/hackathons_canada/local_settings.py.example
to/hackathons_canada/local_settings.py
and update the settings accordingly - Create the database using
python manage.py migrate
- Run the server using
python manage.py runserver
- Visit
http://localhost:8000
in your browser - You're all set!