This is a quick sample of using my two plugins to create dokku sites super quick. For this to work you'll need some plugins installing.
If you login to your dokku vagrant box then
sudo dokku plugin:install https://github.com/crisward/dokku-clone.git clone
sudo dokku plugin:install https://github.com/crisward/dokku-require.git require
# mariadb official plugin
sudo dokku plugin:install https://github.com/dokku/dokku-mariadb.git mariadb
You should then be able to build a new ghost blog with
dokku clone ghost https://github.com/crisward/dokku-ghost.git
You can then go to http://ghost.dokku.me to see your blog, and http://ghost.dokku.me/ghost/ to setup your account.
Happy blogging!
If you want to edit ghost, git clone dokku@dokku.me:ghost ghost
make changes then git push
then changes back up.
At the moment the domain is hard coded to ghost.dokku.me, it'd be nice if ghost code was aware of the domain dokku/nginx is pointing at it and update accordingly.
I'd also like to get this process working with other apps. ie.
- Sentry - https://github.com/getsentry/sentry
- Gitlab - https://about.gitlab.com/
- Gogs - https://gogs.io
- Wordpress - https://github.com/WordPress/WordPress
- Magento - https://github.com/magento/magento2
- Parse Server - https://github.com/ParsePlatform/parse-server