Skip to content

Ghost Blog v0.5.2 working on Heroku with PostgreSQL

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE.txt
Notifications You must be signed in to change notification settings

patrickespake/ghostblog-heroku

 
 

Repository files navigation

Ghost blog setup on Heroku

The ghost blog works very well on Heroku, the only problem is the images.

Heroku just store the upload images for a short time, the solution is the Amazon S3 service, but I don't try to change the Ghost for use it.

This is a small guide for Ghost work on Heroku:

git clone https://github.com/patrickespake/ghostblog-heroku.git

cd ghostblog-heroku

heroku create :app-name

heroku addons:add heroku-postgresql:dev

heroku addons:add sendgrid:starter

Get the Heroku config variables:

heroku config

And set the variables for work with Ghost:

You can get the values for the database variables in https://postgres.heroku.com/databases and select your database.

heroku config:set POSTGRES_DATABASE=<value> \
  POSTGRES_HOST=<value> \
  POSTGRES_PASSWORD=<value> \
  POSTGRES_USER=<value> \
  MY_URL=http://your-url.com \
  NODE_ENV=production

Send the code to Heroku:

git push heroku master

Enjoy! Go to http://your-url.com/ghost/signup/ to start.

Contributors

Check them all at:

https://github.com/patrickespake/ghostblog-heroku/graphs/contributors

Sample

Visit: http://ghostblog-github.herokuapp.com/

About

Ghost Blog v0.5.2 working on Heroku with PostgreSQL

Resources

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE.txt

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 96.4%
  • CSS 3.6%