A portal for handling Student Placements
Requirements:
- Python 3.6 runtime
- Django 2.0.5
- Other dependencies in
requirements.txt
Procedure:
- Install python in your environment(pre-installed on Ubuntu).
- Navigate to the cloned repository.
cd <project_directory_name> # spc_portal - Create a new virtual environment and activate it.
sudo apt-get install -y python3-venv python3 -m venv spc_portal_venv source spc_portal_venv/bin/activate - Use pip to install other dependencies from
requirements.txtpip install -r requirements.txt - Copy .env file
cp .env.example .env - Make database migrations
python3 manage.py makemigrations student python3 manage.py migrate student python3 manage.py makemigrations python3 manage.py migrate - Create a superuser
python manage.py createsuperuser - Run development server on localhost
python manage.py runserver