Skip to content
This repository has been archived by the owner on Jun 14, 2021. It is now read-only.

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentsarago committed Oct 29, 2017
1 parent c57950e commit bb70888
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 14 deletions.
12 changes: 0 additions & 12 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ run:
--env AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID} \
--env AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY} \
--env AWS_REGION=us-west-2 \
--env PYTHONPATH=/var/task/vendored \
--env GDAL_DATA=/var/task/share/gdal \
--env GDAL_CACHEMAX=75% \
--env GDAL_DISABLE_READDIR_ON_OPEN=TRUE \
--env GDAL_TIFF_OVR_BLOCKSIZE=512 \
Expand Down Expand Up @@ -43,8 +41,6 @@ shell:
--env AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID} \
--env AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY} \
--env AWS_REGION=us-west-2 \
--env PYTHONPATH=/var/task/vendored \
--env GDAL_DATA=/var/task/share/gdal \
--env GDAL_CACHEMAX=75% \
--env GDAL_DISABLE_READDIR_ON_OPEN=TRUE \
--env GDAL_TIFF_OVR_BLOCKSIZE=512 \
Expand All @@ -55,14 +51,6 @@ shell:
remotepixel:latest /bin/bash


deploy-us:
sls deploy --region us-west-2


deploy-eu:
sls deploy --region eu-central-1


clean:
docker stop remotepixel
docker rm remotepixel
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,12 @@ You need to update `OUTPUT BUCKET` value in https://github.com/RemotePixel/remot
Same for `deploymentBucket` ([here](https://github.com/RemotePixel/remotepixel-api/blob/34ffff88f0c6ac5073401443dda0357ffb274370/serverless.yml#L42))

```
make build && make package
make all
npm install
make deploy-us && make deploy-eu
sls deploy --region us-west-2 --mail {your-email}
sls deploy --region eu-central-1 --mail {your-email}
```

#### Why us & eu ?
Expand Down

0 comments on commit bb70888

Please sign in to comment.