forked fromFlamedHunter/Varchas_22
- Notifications
You must be signed in to change notification settings - Fork1
License
NotificationsYou must be signed in to change notification settings
Akarsh63/Varchas_22
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Requirements:
- Python 3.7.1 runtime
- Django 3.0.0
- Other dependencies in
requirements.txt
Procedure:
Installpython in your environment(pre-installed on Ubuntu).
Navigate to the cloned repository.
cd <project_directory_name> # varchas_iitj
Install
pipenv
for dependency managementpip install pipenv
Use pip to install other dependencies from
requirements.txt
pip install -r requirements.txt
Optionally activate virtual environment, if you don't want to activate env, use
pipenv run
to run python scriptssource "$(pipenv --venv)"/bin/activate
Make database migrations
python manage.py makemigrationspython manage.py migrate
NOTE: If its your first time migrating, you may need to manually add migration module in each app.
python manage.py makemigrations mainpython manage.py makemigrations accountspython manage.py makemigrations adminportalpython manage.py makemigrations eventspython manage.py makemigrations registrationpython manage.py makemigrations sponsorspython manage.py migrate
Create a superuser
python manage.py createsuperuser
Run development server on localhost
python manage.py runserver