All Projects → thelovekesh → ghost-v4-on-heroku

thelovekesh / ghost-v4-on-heroku

Licence: MIT license
Deploy the latest ghost v4 on Heroku

Programming Languages

javascript
184084 projects - #8 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to ghost-v4-on-heroku

Notion-DiscordBot
A discord bot consuming Notion API to add, retrieve data to Notion databases.
Stars: ✭ 57 (-45.71%)
Mutual labels:  heroku-deployment
ghost-theme-casperion
Casperion is a free Ghost theme. Casperion is based upon original Ghost theme Casper with some minor modifications and extensions.
Stars: ✭ 27 (-74.29%)
Mutual labels:  ghost
origami
Origami: a fancy ghost theme
Stars: ✭ 22 (-79.05%)
Mutual labels:  ghost
Hacktoberfest2021
Repository dedicated for beginner to compete in Hacktoberfest 2021 challenge . Create HactoberFest Pull Request
Stars: ✭ 47 (-55.24%)
Mutual labels:  hacktoberfest-accepted
HacktoberFest2021
Make your first PR! ~ A beginner-friendly repository made specifically for open source beginners. Add your profile, a blog, or any program under any language or update the existing one. Just make sure to add the file under the correct directory. Happy hacking!
Stars: ✭ 9 (-91.43%)
Mutual labels:  hacktoberfest-accepted
awesome-sites-to-test-on
A curated list of sites to practice testing on
Stars: ✭ 129 (+22.86%)
Mutual labels:  hacktoberfest-accepted
he4rtconf-landing
No description or website provided.
Stars: ✭ 11 (-89.52%)
Mutual labels:  hacktoberfest-accepted
mention-ghost-theme
Mention theme for Ghost blogging platform, built by https://vanila.io
Stars: ✭ 69 (-34.29%)
Mutual labels:  ghost
pile
Personal website generator based on Org mode
Stars: ✭ 20 (-80.95%)
Mutual labels:  blog-engine
learning-code-through-github-repos
This is a collection of GitHub repositories that you can use in your coding journey.
Stars: ✭ 82 (-21.9%)
Mutual labels:  hacktoberfest-accepted
Android-Live-Templates
A curated android live templates to make your android development more fast🚀 and easy✨.
Stars: ✭ 197 (+87.62%)
Mutual labels:  hacktoberfest-accepted
reproducible-research
No description or website provided.
Stars: ✭ 53 (-49.52%)
Mutual labels:  hacktoberfest-accepted
SlugTerra
Hactoberfest 2020-2022 Project
Stars: ✭ 35 (-66.67%)
Mutual labels:  hacktoberfest-accepted
Hacktoberfest-2021
Participate in Hacktoberfest by contributing to any Open Source project on GitHub! Here is a starter project for first time contributors. #hacktoberfest
Stars: ✭ 1 (-99.05%)
Mutual labels:  hacktoberfest-accepted
Hactoberfest-2021
Make your first PR! ~ A beginner friendly repository made specifically for open source beginners. Add your profile, a blog or any program under any language (it can be anything from a hello-world program to a complex data structure algorithm) or update the existing one. Just make sure to add the file under the correct directory. Happy hacking!
Stars: ✭ 134 (+27.62%)
Mutual labels:  hacktoberfest-accepted
Aec-Library-Website
This is an Open-Source Library Website in which you get Resources to learn different topics, Donate book section to donate your old books, and a Book issue section to keep a record of all the books issued. -HacktoberFest Accepted
Stars: ✭ 52 (-50.48%)
Mutual labels:  hacktoberfest-accepted
Hacktoberfest 2021
About All kinds of programs are accepted here, raise a genuine PR, and claim a PR, Make 4 successful PR's and get the Stickers and T-Shirt from hacktoberfest 2021
Stars: ✭ 22 (-79.05%)
Mutual labels:  hacktoberfest-accepted
Pointless
A Static Blog Generator
Stars: ✭ 18 (-82.86%)
Mutual labels:  blog-engine
quiki
a file-based web engine and server featuring a productive source language, markdown, image generation, categories, templates, and revision tracking
Stars: ✭ 20 (-80.95%)
Mutual labels:  blog-engine
BashBar
No description or website provided.
Stars: ✭ 28 (-73.33%)
Mutual labels:  hacktoberfest-accepted

Ghost 4.X on Heroku

Notice: If you are getting a Heroku policy error please refer to this discussion.

Ghost is world's most popular modern publishing platform for creating a new media platform. It has been used by Apple, SkyNews, Buffer, OpenAI, and thousands more. You can visit the project's website at https://ghost.org, or read the docs on https://ghost.org/docs.

Deploy

Deploy

I am available to work with individuals or companies who are looking to build their blazingly super-fast publishing platform. Contact-Me

If the above button does not work for you, disable anything that might be blocking Heroku from inferring the referrer (e.g. Brave shield), or try this: https://heroku.com/deploy?template=https://github.com/thelovekesh/ghost-v4-on-heroku (if you're using a fork, make sure to point the template link to your repo).

NOTE: we do not support deploying by downloading the source file or by copying over a cloned folder. Downloading/copying folders tends to break symlinks, so we recommend that you deploy by clicking the button in this repository or your fork on GitHub.

Things you should know

After deployment,

  • First, visit Ghost at https://YOURAPPNAME.herokuapp.com/ghost to set up your admin account.
  • The app may take a few minutes to come to life.
  • Your blog will be publicly accessible at https://YOURAPPNAME.herokuapp.com.
  • If you subsequently set up a custom domain for your blog, you’ll need to update your Ghost blog’s APP_PUBLIC_URL environment variable accordingly.
  • If you create a lot of content or decide to scale-up the dynos to support more traffic, a more substantial, paid database plan will be required.

Enable SSL using Cloudflare

Please checkout this article.

Configuring S3 file uploads

The blog is configured to use Cloudinary file storage by default. If you want to configure S3 file storage, create an S3 bucket on Amazon AWS, and then specify the following details as environment variables on the Heroku deployment page (or add these environment variables to your app after deployment via the Heroku dashboard):

  • S3_ACCESS_KEY_ID and S3_ACCESS_SECRET_KEY: Required if using S3 uploads. These fields are the AWS key/secret pair needed to authenticate with Amazon S3. You must have granted this keypair sufficient permissions on the S3 bucket in question in order for S3 uploads to work.

  • S3_BUCKET_NAME: Required if using S3 uploads. This is the name you gave to your S3 bucket.

  • S3_BUCKET_REGION: Required if using S3 uploads. Specify the region the bucket has been created in, using slug format (e.g. us-east-1, eu-west-1). A full list of S3 regions is available here.

  • S3_ASSET_HOST_URL: Optional, even if using S3 uploads. Use this variable to specify the S3 bucket URL in virtual host style, path style or using a custom domain. You should also include a trailing slash (example https://my.custom.domain/). See this page for details.

Once your app is up and running with these variables in place, you should be able to upload images via the Ghost interface and they’ll be stored in Amazon S3.

Setting up SMTP service

When you spin up your heroku dyno for the first time, mailgun is by default setup with a sandbox account. It means, sending emails to only authorized reciepients is supported. If you want to send emails / invite your collaborators you need to set their email in authorized recipient section on mailgun dashboard. See https://help.mailgun.com/hc/en-us/articles/217531258-Authorized-Recipients for more.

A more permanent solution would be to use a custom domain and verify your domain via mailgun customer support. Cheers!

FYI: You can access mailgun dashboard by visiting heroku dashboard > click on your app > resources tab > click on mailgun addon.

Chnage Config Vars Value in Heroku

How can I change the value of APP_PUBLIC_URL, MAILGUN_API_KEY, MAILGUN_DOMAIN, MAILGUN_PUBLIC_KEY, MAILGUN_SMTP_LOGIN, MYSQL_DATABASE_URL or JAWSDB_URL, S3_ACCESS_KEY_ID ...etc? You cannot change the value in the config.production.json but you can change the values using the Heroku CLI or Heroku Dashboard. For more information read here

Disclaimer

This repo has some blocks of open-source code. I have taken that code from the repositories of the previous version of ghost deployment on Heroku.

Problems or need help?

License

Released under the MIT license, just like the Ghost project itself.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].