How to Install Ghost on Koding
Note: Koding is for development only. Your instance will only live for 15 minutes after you log off. Do not use this for your production blog, but it is incredible for testing Ghost configurations or themes.
Head over to the Koding website and sign up for an account.
To get access to the Koding command line, on the top bar, click on the "+" next to "Your Apps" and click on "Terminal".
cd /var/www/ wget https://ghost.org/zip/ghost-latest.zip sudo unzip -d ghost ghost-latest.zip cd ghost/ sudo npm install --production
- Edit the config file:
sudo cp config.example.js config.js sudo vi config.js
- In the production section change:
host: '127.0.0.1', port: '2368'
host: '0.0.0.0', port: '80'
- Save and Exit (
:wqif you dont know the vi command)
- Stop Apache so Ghost can run on port 80
sudo service apache2 stop
- Start Ghost
sudo npm start --production
- Head to the URL that Koding provided you (for example howtoisntallghost.kd.io) and your Ghost blog will be up and running!