RESTful api for vscubing.com powerd with Django Rest Framework
Django, Django Rest Framework
Check api documentation in API Docs
Clone the project
git clone [email protected]:vscubing/vscubing-backend.git -b dev
Go to the project directory
cd vscubing-backend
Create venv (on linux)
python3 -m venv venv
Activate venv (on linux)
source venv/bing/activate
Install requirements
pip install -r requirements.txt
Before starting the server check the next section "Environment Variables" right below
Start the server
python manage.py runserver
Start celery worker
celery -A vscubing.celery worker --loglevel=info
Start celery beat
celery -A vscubing.celery beat --loglevel=info
To run this project, you will need to add the following environment variables to your .env file
File direction /vscubing-backend/.env
SECRET_KEY
= 'django-key'
DEBUG
= 1 # 1 == True, 0 == False
GOOGLE_REDIRECT_URL
= 'http://127.0.0.1:3000'
ALLOWED_HOSTS
= '["127.0.0.1", "127.0.0.1:8000", "0.0.0.0:8000", "192.168.1.7"]'
Contributions are always welcome!
See contributing.md for ways to get started.
For support, email [email protected]