Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/daniel-le97/ghost
https://github.com/daniel-le97/ghost
Last synced: 24 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/daniel-le97/ghost
- Owner: daniel-le97
- Created: 2022-12-18T18:49:29.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-15T05:30:07.000Z (about 1 year ago)
- Last Synced: 2024-12-09T14:57:50.930Z (about 1 month ago)
- Language: JavaScript
- Size: 454 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ghost example
This example deploys self-hosted version of [Ghost](https://ghost.org/). Internally it uses a MySQL database to store the data.
[![Deploy on Railway](https://railway.app/button.svg)](https://railway.app/new/template/ghost)
## ✨ Features
- Ghost
- MySQL## 💁♀️ How to use
- Click the Railway button 👆
- Add the environment variables
- If you do not add the `CLOUDINARY_URL` environment variable, your images/files will not be persisted between deploys.
- Add the `MAILGUN_SMTP_LOGIN` and `MAILGUN_SMTP_PASSWORD` variables if you want to invite users to your admin panel or send emails to your subscribers when you publish a new post.## 📝 Notes
- Railway's filesystem is ephemeral which is why any changes to the filesystem are not persisted between deploys. This is why, this example uses Cloudinary for storage.
- The above limitation also affects the way themes work with Ghost, we use the `bin/themes.sh` script to copy over the themes every time you deploy. That way, the theme is always present.
- To add a theme, first add the package as a dependency to the `package.json` file and then add it to the list of themes in the `bin/themes.sh` file.
- Do NOT add a theme directly using the Ghost UI, it will look like it worked but will break whenever you deploy your app again.