-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add README and default debug setting
- Loading branch information
Showing
2 changed files
with
43 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# ITACPC teams registration | ||
|
||
Ensure that: | ||
|
||
1. you have Python 3.11 installed. | ||
2. you have [pipenv](https://docs.pipenv.org/en/latest/) installed. | ||
|
||
Then you can proceed. | ||
|
||
## Project setup | ||
|
||
You need to do this only the first time: | ||
|
||
### Install dependencies | ||
|
||
``` | ||
pipenv install | ||
``` | ||
|
||
### Initialize the DB | ||
|
||
``` | ||
python3 manage.py migrate | ||
python3 manage.py loaddata universities | ||
python3 manage.py createsuperuser | ||
``` | ||
|
||
## Running the project | ||
|
||
You need to do this everytime: | ||
|
||
### Access your virtual shell | ||
|
||
``` | ||
pipenv shell | ||
``` | ||
|
||
### Run the development app | ||
|
||
``` | ||
python3 manage.py runserver | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters