Skip to content

Latest commit

 

History

History
61 lines (42 loc) · 1.93 KB

README.rst

File metadata and controls

61 lines (42 loc) · 1.93 KB

Vereinsverwaltung der Leuna-Bungalowgemeinschaft Roter-See

License Test Coverage Maintainability SSL state Build Status Latest Version Supported Python versions

INSTALL

Note: It is recommended to install this package via the deployment package sw.allotmentclub.deployment.

  • Install and start postgres.

  • Create the db with a current dump (contained in the deployment package).

  • Install nginx.

  • Run the following commands to build and run the backend:

    virtualenv .
    source bin/activate
    pip install -e .
    bin/pserve portal.ini
    

Testing

  • To run the tests in backend, first install the test requirements:

    pip install -e .[test]
    
  • Run the backend tests:

    py.test