2020-10-22 15:53:06 +02:00
|
|
|
## Before deploying
|
|
|
|
|
|
|
|
Make sure `prod.package.json` is up to date on packages from the root `package.json`
|
|
|
|
|
|
|
|
## Deploying
|
|
|
|
|
|
|
|
`docker build -t eu.gcr.io/factorio-sites/blueprints --file blueprints.Dockerfile .`
|
|
|
|
`docker push eu.gcr.io/factorio-sites/blueprints`
|
|
|
|
|
2021-01-07 15:09:56 +02:00
|
|
|
## Testing deployment locally
|
2020-10-22 15:53:06 +02:00
|
|
|
|
|
|
|
`docker run --rm -p 3000:3000 eu.gcr.io/factorio-sites/blueprints`
|
|
|
|
|
|
|
|
### windows env
|
|
|
|
|
2021-01-07 15:09:56 +02:00
|
|
|
create a `.env.local` with
|
|
|
|
|
|
|
|
```
|
|
|
|
GOOGLE_APPLICATION_CREDENTIALS="D:\git\factorio-sites\credentials\factorio-sites.json"
|
|
|
|
```
|