Skip to content

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. Lot…

Notifications You must be signed in to change notification settings

kalinkochnev/XRoads

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XRoads

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.

This would be the first page that an unauthenticated user would see if they went to the url

landing page

The login and logout pages using custom user models

login signup

There is also a user settings page (not fully functional)

account settings

You can create posts directly from the forum home, see example post in the image on how to do so

forum home Post Example

There is post body, title and class search functionality which can just be done by using the search bar (created using solr)

Search Example


First time dev setup

  1. Create virtual environment and install pip packages in requirements.txt
  2. 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)

Management commands

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:

Postgres
  • 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
Solr
  • 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

About

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. Lot…

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published