Skip to content

Commit

Permalink
refactor: Adds GSDP info, cleans Dokku docs (#356)
Browse files Browse the repository at this point in the history
* refactor: Adds GSDP info, cleans Dokku docs

* Update docs/deployment-dokku.md

Co-authored-by: Peter Kos <pkos91@icloud.com>

* Update docs/deployment-dokku.md

Co-authored-by: Peter Kos <pkos91@icloud.com>

* refactor: Adds additional GSDP content

* fix: Fixes sentence

Co-authored-by: Peter Kos <pkos91@icloud.com>
  • Loading branch information
cbaudouinjr and peterkos authored Sep 18, 2020
1 parent 31b418d commit 54d2cea
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions docs/deployment-dokku.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,28 @@ 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):

- [MySQL](https://github.com/dokku/dokku-mysql) (data storage)
- [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
Expand Down Expand Up @@ -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
```
```

0 comments on commit 54d2cea

Please sign in to comment.