Skip to content

Commit 114ce4c

Browse files
authored
docs(dokku): Add notes for updating an existing deployment
1 parent 1e9ce39 commit 114ce4c

File tree

1 file changed

+27
-3
lines changed

1 file changed

+27
-3
lines changed

docs/deployment-dokku.md

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,36 @@ id: deployment-dokku
33
title: Dokku Deployment
44
---
55

6-
Below are steps & notes to deploy HackathonManager on Dokku.
7-
8-
>This assumes 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.
6+
>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.
97
>
108
>If you need a VM, check out [DigitalOean](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.
119
10+
## Updating an existing deployment
11+
12+
If you already have a deployment of HackathonManager on Dokku, follow these steps to update it.
13+
14+
* If you already have the hackathon-manager repo cloned locally:
15+
```bash
16+
# cd into the directory you have hackathon-manager cloned
17+
cd hackathon-manager
18+
git pull
19+
# Skip to "git push" if you already added the remote
20+
git remote add dokku dokku@your-host.example.com:hm
21+
git push dokku master
22+
```
23+
24+
* If you don't have it cloned locally:
25+
```bash
26+
git clone git@github.com:codeRIT/hackathon-manager
27+
cd hackathon-manager
28+
git remote add dokku dokku@your-host.example.com:hm
29+
git push dokku master
30+
```
31+
32+
## Setting up a new deployment
33+
34+
Below are steps & notes to deploy HackathonManager on Dokku.
35+
1236
If you have any questions at all, please don't hesitate to reach out to [Stuart](https://github.com/sman591)! This doc is very much a work in progress but we want to keep it as up to date as possible.
1337

1438
## Dokku plugins

0 commit comments

Comments
 (0)