-
Notifications
You must be signed in to change notification settings - Fork 305
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue 349/database not created (#372)
* #349 Handle some supervisor warnings and tidy up log output * Fixed a typo in the README * #349 --force is necessary when running with APP_ENV=production * Coderabbit changes for #349
- Loading branch information
Showing
8 changed files
with
43 additions
and
30 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,25 @@ | ||
#!/bin/bash | ||
#!/bin/bash -e | ||
|
||
. /root/.nvm/nvm.sh | ||
nvm install 20 | ||
echo + . ~nuxt/.nvm/nvm.sh | ||
. ~nuxt/.nvm/nvm.sh | ||
|
||
echo + nvm install --no-progress 20 | ||
nvm install --no-progress 20 | ||
echo + nvm use 20 | ||
nvm use 20 | ||
|
||
cd /app/nuxt/server/ | ||
|
||
. /app/client/.env | ||
echo + . /app/client/.env | ||
[ -f /app/client/.env ] && . /app/client/.env || echo "Environment file missing!" | ||
|
||
[ "x$NUXT_API_SECRET" != "x" ] || generate-api-secret.sh | ||
[ "x$NUXT_API_SECRET" != "x" ] || ( | ||
echo + generate-api-secret.sh | ||
generate-api-secret.sh | ||
) | ||
|
||
echo + eval \$\(sed 's/^/export /' \< /app/client/.env\) | ||
eval $(sed 's/^/export /' < /app/client/.env) | ||
|
||
echo + node index.mjs | ||
node index.mjs |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/bash | ||
#!/bin/bash -ex | ||
|
||
sysctl vm.overcommit_memory=1 | ||
mkdir -p /persist/redis/data | ||
|
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