Clone or fork the repo to make changes and test the site.
Install django and PostgreSQL.
Create a vitual enviroment if you have to deal with multiple python projects.
sudo apt-get install python-virtualenv
or
sudo easy_install virtualenv
or
sudo pip3 install virtualenv
mkdir ~/virtualenvironment
virtualenv ~/virtualenvironment/my_new_app
cd ~/virtualenvironment/my_new_app/bin
source activate
To install the requirements Note: Use sudo only if some errors pop up.
pip install -r requirements.txt
Follow these instructions to run PostgreSQL database. PostgreSQL provides much better searching, indexing and scaliblity options.
Configure your Database settings in settings.py to run the database. Assign DEBUG False and configure the Apache/Nginx to host the django app, PostgreSQL database and required static files.
Finally run
python3 manage.py makemigrations
python3 manage.py migrate
python3 manage.py runserver
in the directory which has manage.py to get your site up and running.
- Django - A python-based web framework
- PostgreSQL - A powerful, open source object-relational database system
Feel free to test and contribute
Start the Django test server
python manage.py runserver
Change the database settings in settings.py in faculty_portal folder
Pavan Kumar @pavan71198
Saikiran Reddy @saikiranreddysaikiran
Shubhanker Jauhari @Shubhanker99
Hari Boddu @hariboddu