The Aim of the project is to create something of value for people in Thapar Campus. It is our current belief that the information disposal and spread isn't upto mark and there is ample opportunity for growth and making better systems for everyone's daily use. Our goals is to make this application system that is of daily tool which people look up to.
Every Developer in Campus
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
We follow a systematic Git Workflow -
Make sure that you install pre-commit hooks before you make any contributions so that your code is refactored according to standards.
To do that run the following inside the project repo -
pre-commit install
Fork the repo and clone it.
Go in the repo and setup virtualenvironment using
python -m virtualenv venv
Then activate the environment using
On Windows
source venv/Scripts/activate
On MacOS/Linux
source venv/bin/activate
Change into the ./hashx
directory.
All the following steps are to be executed in the hashx directory.
Install requirements\
pip install -r requirements.txt
Copy the contents of .env.debug
and paste it into a new file named as .env
. Note: this file should be present in the hashx/
directory.
set secret key for your django project.
You can use [https://djecrety.ir/] to generate your secret key
After the above setup, run \
python manage.py makemigrations
\
python manage.py migrate
Start the backend server\
python manage.py runserver
\
Runs the backend server at default port 8000
.\
Open http://localhost:8000 to view it in the browser.
The page will reload if you make edits.
hashx_frontend
npm ci
to install all the dependenciesnpm start
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
requirements.txt
npm install package_name
to add new packages to the frontend part.We use SemVer for versioning.
See also the list of contributors who participated in this project.
This project is licensed under the GNU-GENERAL-PUBLIC-LICENSE - see the LICENSE.md file for details