Invest
Requirements
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
$ 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