Created
April 7, 2021 01:02
-
-
Save rririanto/dc7387ed81baa09798cf99757942e8c9 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
sudo /opt/bitnami/apps/ghost/bnconfig --disable_banner 1 | |
ghost start --no-prompt | |
cd /opt/bitnami/apps/ghost/lib/ | |
echo '{}' | sudo tee package.json | |
sudo npm i ghost-cli@latest | |
sudo npm i ghost-storage-adapter-s3@latest | |
cd /opt/bitnami/apps/ghost/htdocs/ | |
ghost update v3 | |
ghost update | |
cp -rf config.production.json backup.json | |
nano config.production.json | |
cp -rf /opt/bitnami/apps/ghost/lib/node_modules/ghost-storage-adapter-s3 /opt/bitnami/apps/ghost/htdocs/versions/4.2.0/core/server/adapters/storage/s3 | |
sudo /opt/bitnami/ctlscript.sh restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment