A project for Department Of Electronics and Computer Engineering (DOECE), Pulchowk Campus!!!
- Nayan Pandey 077bct049
- Nirmal Rana 077bct051
- Prasun Sitaula 077bct057
- Rajesh Adhikari 077bct065
- UI redesign
- Filter student on the basis of country, employed organization and university
- Jiwan Prasad Guragain 075bct041
- Yaman Subedi 075bct045
- Luna Manandhar 075bct047
- Bipin Khanal 075bct022
- Anusandhan Pokhrel 073BCT507
- Baibhav Bista 073BCT511
- Lumanti Dangol 073BCT521
- Mohit Kedia 073BCT523
- View Yearbook and change own's details for students (No log in protection...)
- Complete Database, and list views and edit views implemented
- Solid django admin app
- Back end hosting and backup concepts implemented
- Signup and Login feature for students using email/password credentials
- An institute level access system
- Such users can view and edit student data like in admin, but through a django app that we created.
- Features in the app:
- A versatile/robust filter based on categories(single,multiple)
- Select, view and edit student data
Python, Django, PostGreSQL
- Create a group Students
- Create a group Institutes
- Create a user and add it to the institute group
- Create an entry in the Institutes model
- Use a user in Institutes group in this entry's user field
- <host>/institute is the address to access institute facilities
Main django app- DOECEAlumniStudent
Django app for records - records
Requirements are in requirements.txt
pip install -r requirements.txt
Will also have to set up the database. Database settings are in DOECEAlumniStudent/settings.py, towards the end. Make sure to change the credentials to something that is not so laughably guessable and save it as an environment variable or something.
venv and media are not supposed to be in this repo.
Once the server was up and we were getting responses,
I did not want to mess it up.
Hopefully, you guys know what you are doing
and remove these two from the repo.
Development branch - master
Server branch - server
Development:
In settings.py, at the end,
- comment out the lines between "#PRODUCTION(Manaslu Server) START" and "#PRODUCTION(Manaslu Server) END"
- uncomment out the lines between "#DEVELOPMENT START" and "#DEVELOPMENT END"
Production:
The opposite of the above
backup_script.sh backups the PostGreSQL database as well as the media files. More details in server_notes/ directory.