- Create Mysql instance and run 'create database custom_car;'
- Set enviroment variables:
- 'DJANGO_CUSTOM_CAR_SECRET_KEY' - random secret string
- 'MYSQL_USER' - mysql database user
- 'MYSQL_PASS' - mysql database password
- 'MYSQL_HOST' - mysql database url
- Clone repo
- cd into cloned repo folder
- add your server ip to settings.py, for example: ALLOWED_HOSTS = ['44.196.172.48']
- pip install Django django-cors-headers djangorestframework
- run: python manage.py migrate
- run: python manage.py loaddata initialdb
- run: python manage.py runserver 0.0.0.0:8001
-
Notifications
You must be signed in to change notification settings - Fork 0
vorg-san/custom_car_backend
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published