1
0
mirror of https://github.com/barthuijgen/factorio-sites.git synced 2024-11-24 08:52:36 +02:00
factorio-sites/apps/blueprints
2021-01-10 22:03:07 +01:00
..
public Add FBE editor for in-browser image rendering, ported database to postgres, updated packages 2021-01-10 22:03:07 +01:00
specs initial commit 2020-10-16 19:37:34 +02:00
src Add FBE editor for in-browser image rendering, ported database to postgres, updated packages 2021-01-10 22:03:07 +01:00
.babelrc Add FBE editor for in-browser image rendering, ported database to postgres, updated packages 2021-01-10 22:03:07 +01:00
.eslintrc.json Add FBE editor for in-browser image rendering, ported database to postgres, updated packages 2021-01-10 22:03:07 +01:00
babel-jest.config.json initial commit 2020-10-16 19:37:34 +02:00
index.d.ts Added several ways of generating images, factorioprints scraper and a lot of updates to the main site 2020-10-22 15:53:06 +02:00
jest.config.js initial commit 2020-10-16 19:37:34 +02:00
next-env.d.ts Add FBE editor for in-browser image rendering, ported database to postgres, updated packages 2021-01-10 22:03:07 +01:00
next.config.js Upgrade packages, refactoring db access 2021-01-07 14:09:56 +01:00
prod.package.json Upgrade packages, refactoring db access 2021-01-07 14:09:56 +01:00
README.md Upgrade packages, refactoring db access 2021-01-07 14:09:56 +01:00
tsconfig.json Add FBE editor for in-browser image rendering, ported database to postgres, updated packages 2021-01-10 22:03:07 +01:00
tsconfig.spec.json initial commit 2020-10-16 19:37:34 +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

Testing deployment locally

docker run --rm -p 3000:3000 eu.gcr.io/factorio-sites/blueprints

windows env

create a .env.local with

GOOGLE_APPLICATION_CREDENTIALS="D:\git\factorio-sites\credentials\factorio-sites.json"