From 54d2ceaa1d9803bc1a74ebed3e2114620e5d7ff1 Mon Sep 17 00:00:00 2001 From: "Chris Baudouin, Jr" Date: Fri, 18 Sep 2020 19:16:02 -0400 Subject: [PATCH] refactor: Adds GSDP info, cleans Dokku docs (#356) * refactor: Adds GSDP info, cleans Dokku docs * Update docs/deployment-dokku.md Co-authored-by: Peter Kos * Update docs/deployment-dokku.md Co-authored-by: Peter Kos * refactor: Adds additional GSDP content * fix: Fixes sentence Co-authored-by: Peter Kos --- docs/deployment-dokku.md | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/docs/deployment-dokku.md b/docs/deployment-dokku.md index 7f5c1cf04..6d68570f1 100644 --- a/docs/deployment-dokku.md +++ b/docs/deployment-dokku.md @@ -6,14 +6,18 @@ title: Dokku Deployment >These docs assume you already have a virtual machine with [Dokku](http://dokku.viewdocs.io/dokku/) running on it, and can SSH into the VM. DNS should be set up as well, but isn't required for bare minimum functionality. > >If you need a VM, check out [DigitalOcean](https://m.do.co/c/b5ee103e23c3) or [Linode](https://www.linode.com/?r=e90a6fb2a6999fb4ec7b60b1add3e288f97954bf) and the [Dokku docs](http://dokku.viewdocs.io/dokku/) to get started. +> +>**Student Developer?** The [GitHub Student Developer Pack](https://education.github.com/pack?sort=popularity&tag=Cloud) has several discounts for cloud hosting, Ruby tutorials, and more! ## Setting up a new deployment -Below are steps & notes to deploy HackathonManager on Dokku. Need to update an existing deployment? +Below are steps to deploy a new HackathonManager instance on Dokku. To update an existing Dokku deployment, check out our [updating docs](updating-hm.html). + +If you have any questions, please don't hesitate to reach out to the [codeRIT Engineering Team](mailto:engineering@coderit.org)! This doc is very much a work in progress but we want to keep it as up to date as possible. -If you have any questions at all, please don't hesitate to reach out to the [codeRIT Engineering Team](mailto:engineering@coderit.org)! This doc is very much a work in progress but we want to keep it as up to date as possible. +## Dokku Setup -## Dokku plugins +### Plugins Currently used and required Dokku plugins (other than the defaults): @@ -21,9 +25,9 @@ Currently used and required Dokku plugins (other than the defaults): - [Redis](https://github.com/dokku/dokku-redis) (background jobs + caching) - [dokku-letsencrypt](https://github.com/dokku/dokku-letsencrypt) (Optional: free, automated SSL certificates) -### Dokku Setup Steps +### Setup Steps -**We'll be using `hm` as the app name in these steps,** as well as sharing the same `hm` name for both the app, database, and redis name. You're free to use another names. +**We'll be using `hm` as the app name in these steps,** as well as sharing the same `hm` name for both the app, database, and redis name. You're free to use other names. ```bash dokku apps:create hm @@ -177,4 +181,4 @@ In order to support groupdate, timezone tables must be created. ```bash mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u $OPENSHIFT_MYSQL_DB_USERNAME -p mysql -``` \ No newline at end of file +```