Blossom is a constructive and inclusive social media network that links artists to each other.
Make sure you have Python 3.x installed and the latest version of pip installed before running these steps.
- Clone the repository using the following command && cd to the cloned repo
$ git clone git@github.com:Blossoom/blossoom-backend.git
- Create and activate a virtual environment
# Use this on Linux and Mac
$ python -m venv env
$ source env/bin/activate
- Install requirements
$ pip install -r requirements.txt
- Run migrations then create a super user
$ python manage.py migrate
$ python manage.py createsuperuser
- To run tests
$ python manage.py test
- To run the development server
$ python manage.py runserver
admin panel will be on
localhost:8000/admin
or127.0.0.1:8000/admin
Root api endpoints will be on (localhost OR 127.0.0.1):8000/api/v1/