Skip to content

This is the back end of Sisters of Culture Hair website project. This is a django-framework API with with swagger API

Notifications You must be signed in to change notification settings

jodth07/SOCH-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SOCH Back End API (Python & Django REST)

A django-rest api for Sisters of Culture Hair project

Features

  • It uses the latest python version (as of Oct 2018).
  • Ready to deploy to heroku in just 1 minute (for free).
  • 100% compatible with c9.io .

How to install this project ❓

Follow these steps:

Make sure you have python 3.6 installed, if you are using Cloud9 you can install it by typing:

$ pyenv install 3.6.6   (this step takes a while)

$ pyenv global 3.6.6
Clone this project - BackEnd from :
$ git clone https://github.com/jodth07/SOCH-API.git
$ pipenv install
$ pipenv shell

Run migrations

$ python manage.py makemigrations
$ python manage.py migrate
$ python manage.py createsuperuser

Start the python server

$ python manage.py runserver $IP:$PORT (on c9)
$ python manage.py runserver 

What next?

Your python API should be running smoothly on port 8000

###set up the front end from https://github.com/jodth07/SOCH-FE

add images, products, styles and users. (make sure to change and update paypal info)

Deploy your project to Heroku

If you don't have your code connected to a github repository, please do it:

$ git init
$ git add -A
$ git commit -m "Initial commit"

Then, run these 3 steps to deploy to heroku:

$ heroku create
$ git push heroku master

$ heroku run python manage.py migrate

Aditional Tutorials

Packages Being Used (Documentation)

About

This is the back end of Sisters of Culture Hair website project. This is a django-framework API with with swagger API

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published