Merge pull request #1038 from alphagov/generate-version-file-in-bootstrap

Generate the version file in the bootstrap script
This commit is contained in:
minglis
2016-12-02 10:15:07 +00:00
committed by GitHub
2 changed files with 3 additions and 6 deletions

View File

@@ -76,12 +76,6 @@ export DESKPRO_API_KEY="some-key"
Your aws credentials should be stored in a folder located at `~/.aws`. Follow [Amazon's instructions](http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html#cli-config-files) for storing them correctly
## Generate the application version file
```shell
make generate-version-file
```
## Running the application
```shell

View File

@@ -25,6 +25,9 @@ if [ ! $VIRTUAL_ENV ]; then
. ./venv/bin/activate
fi
# we need the version file to exist otherwise the app will blow up
make generate-version-file
# Install Python development dependencies
pip3 install -r requirements_for_test.txt