How to Install Ghost on Nodejitsu
Note: Redeploying Ghost to Nodefitsu would be destructive to your database and your images. Nodefitsu has worked around this issue by creating a wrapper called persistent-ghost which will preserve the Ghost content directory, where your database and images are stored. You can checkout more details for this tools on their Persistent Ghost Blogging Platform blog post.
- Signup at nodejitsu.com
- Go to your account settings
- Enter in your billing information then click on "Plans" and then "Individual"
- Sign up for the $9/mo or whatever plan you want.
- Now, on your server or local machine, install Node.js
wget http://nodejs.org/dist/node-latest.tar.gz tar -zxvf node-latest.tar.gz cd [node-folder]/ ./configure make make install
- Install jitsu:
sudo npm install jitsu -g
- Install Ghost:
sudo mkdir -p /var/www cd /var/www jitsu install ghost cd ghost/
- Push to nodejitsu:
sudo jitsu deploy [type in your username] [type in your password]
This will output your url that Ghost is now running on!