Social survey response operations user interface.
5.0K
Install pipenv
pip install pipenv
Use pipenv to create a virtualenv and install dependencies
pipenv install
Once these have been installed the app can be run from the root directory using the following
pipenv run python run.py
Alternatively run with gunicorn
$ pipenv run gunicorn -b 0.0.0.0:8085 response_operations_social_ui:app -w=4
Alternatively run with Make
This command will build all the requirements
make build
This command will run the application
make start
When the application is running and you are required to sign-in, you will need an authenticated account, but for now the username and password are 'user' and 'pass'
Styling is implemented using scss and javascript. You can find the styling files in the static folder
When the application is run the scss files are converted into css and they are minimised into one file, all.css.min
Similarly the js files are minimised into one file, all.js.min
Ensure dev dependencies have been installed
pipenv install --dev
Run tests with coverage
$ pipenv run python run_tests.py
Run linting (the travis build sets a custom max line length)
$ pipenv check --style . --max-line-length 120
Run tests with Make
make test
Content type
Image
Digest
Size
211.3 MB
Last updated
over 7 years ago
docker pull sdcplatform/response-operations-social-ui