-
Notifications
You must be signed in to change notification settings - Fork 7
Creating a Dev Environment
Randumb edited this page Oct 8, 2024
·
4 revisions
This project is written in Python using the Django Framework. This is a student project and will be maintained by new groups every year. This project must include rigorous documentation, tests, and adherence to conventions. We try to prioritize clear code over clever code and avoid third-party plug-ins whenever possible.
If you plan on contributing to this project, you can fork the repo and make pull requests when you're ready to contribute.
- Open up a terminal then navigate to your preferred directory
- Run
git clone https://github.com/worcestertechnicalhighschool/hallpass.git
- Run
cd ./hallpass
- Run
code .
to open VSCode in the current directory
- Run
pip3 install pipenv
- Run
python3 -m pipenv install
-
python3 -m pipenv shell
(do this every time you want to run the server) cd ./hallpass
python3 manage.py make-migrations
python3 manage.py migrate
-
python3 manage.py initsocialapp
Answer the prompts to proceed
python3 manage.py runserver