8000 GitHub - Deans-CMS/deans-api
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Dec 25, 2018. It is now read-only.

Deans-CMS/deans-api

Repository files navigation

Dean's Crisis Management System

Setup envirment

On *nix

  1. Install docker and docker-compose correctly.

How to install on mac

  1. Setup python
$ virtualenv -p python3 env 
$ source env/bin/activate
$ pip install -r requirments.txt

On Windows

Run server

If on Mac or Windows the container will run on Docker Machine which is a virtual machine, and will have its own ip address. You could rundocker-machine ip to check the address, and such address will used to access the front end. However, on Linux, you could simplly access localhost.

On *nux

If using you will need sudo to run the following command.

$ docker-compose up

On Windows


Useful commands

Django migrattion

docker-compose run web python manage.py migrate

TODO

  • persist data in a dockerized postgres database using volumes
  • django-restful doc
  • remove 'ADD' on setting page
  • [ ]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  
0