🧑💻 Improve env variables type safety and management (#718)
Closes #679
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
ENVSH_ENV=./apps/viewer/.env.production ENVSH_OUTPUT=./apps/viewer/public/__env.js bash inject-runtime-env.sh
|
||||
|
||||
./node_modules/.bin/prisma generate --schema=packages/prisma/postgresql/schema.prisma;
|
||||
cd apps/viewer;
|
||||
node -e "const { configureRuntimeEnv } = require('next-runtime-env/build/configure'); configureRuntimeEnv();"
|
||||
cd ../..;
|
||||
|
||||
node apps/viewer/server.js;
|
||||
Reference in New Issue
Block a user