π Knowledge Resource Aggregator for teams built using Django and DRF
MIT License
Hustlers Den is a knowledge resource aggregation platform. The motivation to build this project was to ease out the process of sharing educational resources amongst a team as compared to the alternative of messages getting lost in the wild while using Slack channels. The project is built using Django and Django Rest Framework. The API documentation is done using Swagger Documentation.
In case of any questions, queries or suggestions please reach out to @darth-dodo.
Cheers!
Make sure you have a Postgres version greater than 9.6
Clone the repo
Create your .env
file by using .env.example
as template and substituting values based on your environment
Use Pyenv to install and set Python to version 3.7.x
Run pipenv install
Activate the virtualenv using pipenv shell
Create development Postgres Database using the command createdb den_db
and permissions for user as mentioned in the den/settings/dev.py
eg.
$ createdb den_db
$ psql -U <user> or $ psql postgres
# CREATE ROLE den_app WITH LOGIN PASSWORD 'your-awesome-password';
# GRANT ALL PRIVILEGES ON DATABASE den_db TO den_app;
# \q
Create a superuser using the command python manage.py createsuperuser
Run the local server using the command python manage.py runserver
Hop on to the site and go to <your-localhost-with-port>/admin
Use the above credentials to log into the admin panel
sharing-is-caring
IsVerified
Permission to the viewsets