diff --git a/README.md b/README.md index 46808e9b33..50dc5573a1 100644 --- a/README.md +++ b/README.md @@ -44,14 +44,14 @@ make setup Build the Pylons settings files and run the local `waitress` server ```bash -summon make serve +summon -p ssm make serve ``` You may want to customize the variables. Copy the file `.env.default` as `.ven.mine`, change the variables you want and use them with ```bash -summon make ENV_FILE=.env.mine serve +summon -p ssm make ENV_FILE=.env.mine serve ``` :book: You need some external ressource to run the service, see [External ressources dependencies](#external-ressources-dependencies) @@ -71,7 +71,7 @@ You can use the ssh port forwarding feature to have access to `pg-geodata-replic ssh ssh0a.prod.bgdi.ch -L 5432:pg-geodata-replica.bgdi.ch:5432 ``` -Then set the `DBHOST` environment variable to `localhost` (you can do this in your own environment file e.g. `.env.mine` and run the make file as follow: `summon make ENV_FILE=.env.mine serve`) +Then set the `DBHOST` environment variable to `localhost` (you can do this in your own environment file e.g. `.env.mine` and run the make file as follow: `summon -p ssm make ENV_FILE=.env.mine serve`) ### S3 Vector Bucket Access @@ -96,7 +96,7 @@ make dockerbuild ### Docker run locally ```bash -summon make dockerrun +summon -p ssm make dockerrun ``` :book: You need some external ressource to run the service, see [External ressources dependencies](#external-ressources-dependencies) @@ -130,19 +130,19 @@ See [External Ressources Dependencies](#external-ressources-dependencies) for mo To run the tests enter ```bash -summon make test +summon -p ssm make test ``` Or if you use your own environment file ```bash -summon make ENV_FILE=.env.mine test +summon -p ssm make ENV_FILE=.env.mine test ``` **:warning: If you don't have AWS Access you can disable the S3 tests as follow** ```bash -summon make S3_TESTS=0 test +summon -p ssm make S3_TESTS=0 test ``` ## Download WMS image legends diff --git a/secrets.yml b/secrets.yml index c1e6739c83..5462e4813d 100644 --- a/secrets.yml +++ b/secrets.yml @@ -1,3 +1,3 @@ -OPENTRANS_API_KEY: !var infra-gopass-bgdi/mf-chsdi3/OPENTRANS_API_KEY password -PGUSER: !var infra-gopass-bgdi/mf-chsdi3/PG PGUSER -PGPASSWORD: !var infra-gopass-bgdi/mf-chsdi3/PG PGPASSWORD \ No newline at end of file +PGUSER: !var /amazon-rds/geodata-master/www-data/user --profile swisstopo-bgdi +PGPASSWORD: !var /amazon-rds/geodata-master/www-data/password --profile swisstopo-bgdi +OPENTRANS_API_KEY: !var /opentransportdata.swiss/swisstopo/tokens/departure_board --profile swisstopo-bgdi