Skip to content

tomzab/invest

 
 

Repository files navigation

Invest

Invest

code-climate-image circle-ci-image codecov-image gemnasium-image

Requirements

Python >= 3.6

Docker >= 1.10

Docker Compose >= 1.8

Local installation

$ git clone https://github.com/uktrade/invest
$ cd invest
$ make

Running with Docker

Requires all host environment variables to be set.

$ make docker_run

Run debug webserver in Docker

$ make docker_debug

Run tests in Docker

$ make docker_test

Host environment variables for docker-compose

.env files will be automatically created (with env_writer.py based on env.json) by make docker_test, based on host environment variables with INVEST prefix.

Debugging

Setup debug environment

$ make debug

Run debug webserver

$ make debug_webserver

Run debug tests

$ make debug_test

CSS development

Requirements

node SASS

$ npm install
$ npm run sass-dev

Update CSS under version control

$ npm run sass-prod

Rebuild the CSS files when the scss file changes

$ npm run sass-watch

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 73.6%
  • HTML 15.0%
  • CSS 8.6%
  • Makefile 2.3%
  • Shell 0.5%