Skip to content
This repository has been archived by the owner on Oct 31, 2018. It is now read-only.
/ gotosite Public archive

A new version of GoTo's website. Kind of a tailored CRM, based on Django.

Notifications You must be signed in to change notification settings

goto-ru/gotosite

Repository files navigation

goto-ru/gotosite

GoTo project Code Health

A new version of GoTo’s website. Kind of a tailored CRM, based on Django.

Setting up

Dependencies: python3, postgres

  1. git clone https://github.com/goto-ru/gotosite/
  2. cd gotosite
  3. pip3 install virtualenv
  4. virtualenv -p python3.5 env
  5. You need to run following command every time you start terminal and operate with local project source env/bin/activate
  6. git submodule init
  7. git submodule update
  8. pip3 install -r requirements.txt
  9. Here you need to run docker with postgres (sudo docker run -p 5432:5432 postgres) Don’t forget to run docker in background.
  10. python3 manage.py migrate
  11. python3 manage.py loaddata sample_data/sample_data_1.json
  12. python3 manage.py runserver

For production

Dependencies: docker, docker-compose

  1. git clone https://github.com/goto-ru/gotosite/
  2. cd gotosite
  3. git submodule init
  4. git submodule update
  5. docker-compose up -d –-build
  6. docker-compose exec web python3 manage.py loaddata sample_data/sample_data_1.json Service will become available at 0.0.0.0:8001
  7. (Optionally) for CI you can set up https://github.com/Omrigan/flask-github-ci

About

A new version of GoTo's website. Kind of a tailored CRM, based on Django.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published