Skip to content

KamiYoung/middle_cobra

Folders and files

NameName
Last commit message
Last commit date

Latest commit

655426e · Aug 4, 2018

History

23 Commits
Aug 4, 2018
Aug 4, 2018
Aug 2, 2018
Aug 2, 2018
Aug 2, 2018
Aug 2, 2018

Repository files navigation

COBRA CRM

Porject Structure

directory description
api/ Django Backend API Services
web/ React Frontend Web Client
docs/ API Documentation with Slate

Setup Local Env

Backend

Using pyenv

  • Download and setup pyenv-virtualenv
  • Change directory cd api/
  • Setup pyenv: pyenv virtualenv 3.6.4 cobra && pyenv local cobra

Using virtualenv

  • Download and setup virtualenv
  • Change directory cd api/
  • Setup virtualenv: virtualenv --python=python3.6 .cobraenv && source .cobraenv/bin/activate

Installing dependencies && run server

  • Install dependencies: pip install -r requirements/dev.txt
  • Migrate database: ./manage.py makemigrations and then ./manage.py migrate
  • Run server: ./manage.py runserver

Using PyCharm

Fronend

  • Change directory: cd web
  • Install and run server: yarn && yarn start

About

the middle ware for COBRA

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published