1
0
mirror of https://github.com/barthuijgen/factorio-sites.git synced 2024-11-28 09:33:51 +02:00
factorio-sites/apps/blueprints
2021-03-11 11:40:14 +01:00
..
prisma Added user for blueprint_page and user filter query for main page (#4) 2021-03-10 22:18:40 +01:00
public Fixes and improvements 2021-03-09 18:52:19 +01:00
specs Working on github workflows 2021-03-11 00:14:27 +01:00
src Fix linting and test errors 2021-03-10 23:49:49 +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 nx upgrade 2021-03-11 11:40:14 +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 Clean up api routes and page auth checks, remove base_url env variable 2021-03-09 23:48:16 +01:00
prod.package.json blueprint managent updates and a lot more 2021-03-06 22:54:18 +01:00
README.md add registration, login, steam-login, creating blueprints and database refactor 2021-01-16 12:28:25 +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 tag eu.gcr.io/factorio-sites/blueprints eu.gcr.io/factorio-sites/blueprints:dev docker push eu.gcr.io/factorio-sites/blueprints

windows env

create a .env.local with

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