Pune University Hiring
Run using Docker
- Make sure Docker is installed and running
Clone the repository
HTTPS
git clone https://github.com/UsaidAijaz/PuneUniversityHiring.git
SSH
git clone git@github.com:UsaidAijaz/PuneUniversityHiring.git
Change directory to project folder
cd PuneUniversityHiring
Create Environment Variables File
- See
.env_base
file and create your own .env
file
- You may directly copy-paste the
.env_base
to .env
Build the app
docker compose -p hiring-app build
Start the app
docker compose -p hiring-app up -d
Stop the app
docker compose -p hiring-app down
Activate the virtual environment
Unix
source venv/bin/activate
Windows
venv\Scripts\activate.bat
Install requirements
pip3 install -r requirements.txt
Initialize the app
cd mysite
python3 manage.py makemigrations
python3 manage.py migrate
Create super user
python3 manage.py createsuperuser
Deactivate the virtual environment
deactivate
Run the app
python3 manage.py runserver