Last active
March 14, 2017 12:20
Ghost as forever
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
# Install ghost and forever, run it as a service | |
cd /var/www/ | |
sudo wget https://ghost.org/zip/ghost-latest.zip | |
sudo apt-get -y install unzip | |
sudo unzip -d ghost ghost-latest.zip | |
cd ghost/ | |
sudo cp config.example.js config.js | |
sudo nano config.js | |
sudo GHOST_NODE_VERSION_CHECK=false npm start --production | |
# sudo GHOST_NODE_VERSION_CHECK=false npm install --production | |
# sudo npm install -g forever | |
# Run the last part of the code, to bring up the ghost server | |
# sudo GHOST_NODE_VERSION_CHECK=false NODE_ENV=production forever start index.js | |
Author
psgganesh
commented
Mar 5, 2016
- https://www.allaboutghost.com/how-to-install-ghost-in-a-subdirectory/
- https://www.digitalocean.com/community/tutorials/how-to-create-a-blog-with-ghost-and-nginx-on-ubuntu-14-04
- http://blog.z-proj.com/running-ghost-with-node-v5/
- http://support.ghost.org/mail
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment