# Pune University Hiring ## Run using Docker - Make sure Docker is installed and running ### Clone the repository #### HTTPS ```bash git clone https://github.com/UsaidAijaz/PuneUniversityHiring.git ``` #### SSH ```bash git clone git@github.com:UsaidAijaz/PuneUniversityHiring.git ``` ### Change directory to project folder ```bash 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 ```bash docker compose -p hiring-app build ``` ### Start the app ```bash docker compose -p hiring-app up -d ``` ### Stop the app ```bash docker compose -p hiring-app down ``` #### Activate the virtual environment ##### Unix ```bash source venv/bin/activate ``` ##### Windows ```bash venv\Scripts\activate.bat ``` #### Install requirements ```bash pip3 install -r requirements.txt ``` #### Initialize the app ```bash cd mysite python3 manage.py makemigrations python3 manage.py migrate ``` #### Create super user ```bash python3 manage.py createsuperuser ``` ### Deactivate the virtual environment ```bash deactivate ``` ### Run the app ```bash python3 manage.py runserver ```