-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ci): Update source for correct deploy with postgres database
- Loading branch information
1 parent
6854385
commit af58791
Showing
13 changed files
with
148 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"alias": [ | ||
"rucken-core-nestjs-postgres.now.sh" | ||
], | ||
"env": { | ||
"NODE_ENV": "production", | ||
"NPM_CONFIG_PRODUCTION": "false", | ||
"DEBUG": "@debug", | ||
"DEMO": "true", | ||
"DOMAIN": "@domain", | ||
"PROTOCOL": "https", | ||
"JWT_SECRET_KEY": "@jwt_secret_key", | ||
"JWT_EXPIRATION_DELTA": "7 days", | ||
"JWT_AUTH_HEADER_PREFIX": "JWT", | ||
"FACEBOOK_CLIENT_ID": "@facebook_client_id", | ||
"FACEBOOK_CLIENT_SECRET": "@facebook_client_secret", | ||
"FACEBOOK_OAUTH_REDIRECT_URI": "@facebook_oauth_redirect_uri", | ||
"GOOGLE_CLIENT_ID": "@google_client_id", | ||
"GOOGLE_CLIENT_SECRET": "@google_client_secret", | ||
"GOOGLE_OAUTH_REDIRECT_URI": "@google_oauth_redirect_uri", | ||
"DATABASE_URL": "@postgres_database_url" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
DEBUG=true | ||
DEMO=false | ||
NODE_MODULES_CACHE=false | ||
NPM_CONFIG_PRODUCTION=false | ||
DOMAIN=localhost | ||
PORT=5000 | ||
EXTERNAL_PORT=5000 | ||
JWT_SECRET_KEY=secret_key | ||
JWT_EXPIRATION_DELTA=7 days | ||
JWT_AUTH_HEADER_PREFIX=JWT | ||
|
||
# https://developers.facebook.com/apps/<FACEBOOK_CLIENT_ID>/settings/basic/ | ||
FACEBOOK_CLIENT_ID= | ||
FACEBOOK_CLIENT_SECRET= | ||
FACEBOOK_OAUTH_REDIRECT_URI={host}/auth/facebook/ | ||
|
||
# https://console.developers.google.com/apis/credentials/oauthclient/ | ||
GOOGLE_CLIENT_ID= | ||
GOOGLE_CLIENT_SECRET= | ||
GOOGLE_OAUTH_REDIRECT_URI={host}/auth/google-plus/ | ||
|
||
#DATABASE_URL=sqlite://database/sqlitedb.db | ||
DATABASE_URL=postgres://USER:PASSWORD@HOST:1105/NAME | ||
#DATABASE_URL=sqlite://db.sqlite3 | ||
#DATABASE_URL=oracle://USER:PASSWORD@HOST:1105/NAME | ||
#DATABASE_URL=mysql://USER:PASSWORD@HOST:1105/NAME | ||
#DATABASE_URL=redis://USER:PASSWORD@HOST:1105 | ||
#DATABASE_URL=memcached://USER:PASSWORD@HOST:1105 | ||
#DATABASE_URL=ocmem://HOST:1105/PATH |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
DEBUG=true | ||
DEMO=false | ||
NODE_MODULES_CACHE=false | ||
NPM_CONFIG_PRODUCTION=false | ||
DOMAIN=localhost | ||
PORT=5000 | ||
EXTERNAL_PORT=5000 | ||
JWT_SECRET_KEY=secret_key | ||
JWT_EXPIRATION_DELTA=7 days | ||
JWT_AUTH_HEADER_PREFIX=JWT | ||
|
||
# https://developers.facebook.com/apps/<FACEBOOK_CLIENT_ID>/settings/basic/ | ||
FACEBOOK_CLIENT_ID= | ||
FACEBOOK_CLIENT_SECRET= | ||
FACEBOOK_OAUTH_REDIRECT_URI={host}/auth/facebook/ | ||
|
||
# https://console.developers.google.com/apis/credentials/oauthclient/ | ||
GOOGLE_CLIENT_ID= | ||
GOOGLE_CLIENT_SECRET= | ||
GOOGLE_OAUTH_REDIRECT_URI={host}/auth/google-plus/ | ||
|
||
DATABASE_URL=sqlite://database/sqlitedb.db | ||
#DATABASE_URL=postgres://USER:PASSWORD@HOST:1105/NAME | ||
#DATABASE_URL=sqlite://db.sqlite3 | ||
#DATABASE_URL=oracle://USER:PASSWORD@HOST:1105/NAME | ||
#DATABASE_URL=mysql://USER:PASSWORD@HOST:1105/NAME | ||
#DATABASE_URL=redis://USER:PASSWORD@HOST:1105 | ||
#DATABASE_URL=memcached://USER:PASSWORD@HOST:1105 | ||
#DATABASE_URL=ocmem://HOST:1105/PATH |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
#!/bin/bash | ||
now rm rucken-core-nestjs -y | ||
now --public | ||
now alias | ||
now --local-config postgres-now.json --public | ||
now --local-config postgres-now.json alias | ||
read -p "Press any key to continue... " -n1 -s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters