A webapp for students to share their ideas using Django. Features include a unique user tag system similar to discord, custom user authentication, posting, searching and page navigation. Development of this project has been discontinued but many of the features like commenting and voting are completed in the backend but not in the front end. Lots of this code would be useful for anyone undertaking a forum system using Django.
There is post body, title and class search functionality which can just be done by using the search bar (created using solr)
- Create virtual environment and install pip packages in requirements.txt
- When in the main directory (~/XRoads) run the following scripts:
/bin/bash scripts/postgres/install.sh (installs postgres with databases and users required)
/bin/bash scripts/solr/setup/install.sh (installs solr with correct setup)
There are several scripts to help reduce the amount of time doing configuration and more time coding! They're all located within the scripts folder. Heres a general overview of them:
- reset-db.sh In the event a terrible mistake has been made, this will reset the local database entirely. This will remove all users other than djangouser
- create-superuser.sh This can be used to add an additional user with rights given to the local database
- management/rebuild-index.sh Is useful for when you want to update the schema or rebuild the search indexes
- management/ start.sh, stop.sh, restart.sh These apply to the solr server. It is pretty self explanatory