Generate the version file in the bootstrap script

This file needs to exist before the app can run, so create it automatically
rather than including it as an extra setup step in the README. The API app
already does this.
This commit is contained in:
Jenny Duckett
2016-11-29 16:24:08 +00:00
parent 82d6154a5f
commit 5eca69882a
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