Skip to content
This repository has been archived by the owner on Feb 28, 2018. It is now read-only.

Commit

Permalink
makes GOOGLE_STREET_VIEW_API_KEY work easily with docker compose and …
Browse files Browse the repository at this point in the history
…add the instructions in README
  • Loading branch information
Felipe Morais committed May 17, 2017
1 parent f60ea8e commit 1cdab6d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,8 @@ cp contrib/.env.sample .env

### Using Docker

If you have [Docker](https://docs.docker.com/engine/installation/) (with [Docker Compose](https://docs.docker.com/compose/install/)) and make, just run:
#### Requirements
[Docker](https://docs.docker.com/engine/installation/) (with [Docker Compose](https://docs.docker.com/compose/install/)), just run:

```console
make run.devel
Expand Down Expand Up @@ -218,6 +219,8 @@ Copy `contrib/.env.sample` as `.env` in the project's root folder and adjust you
* `GOOGLE_ANALYTICS` (_str_) Google Analytics tracking code (e.g. `UA-123456-7`)
* `GOOGLE_STREET_VIEW_API_KEY` (_str_) Google Street View Image API key

To use GOOGLE_STREET_VIEW_API_KEY just export it in a local environment variable, so when you run Jarbas it will get from the local environment variable.

#### Migrations

Once you're done with requirements, dependencies and settings, create the basic database structure:
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ services:
- AMAZON_S3_BUCKET=serenata-de-amor-data
- AMAZON_S3_REGION=s3-sa-east-1
- AMAZON_S3_CEAPTRANSLATION_DATE=2016-08-08
- GOOGLE_STREET_VIEW_API_KEY=my-google-places-api-key
- GOOGLE_STREET_VIEW_API_KEY

depends_on:
- elm
Expand Down

0 comments on commit 1cdab6d

Please sign in to comment.