Skip to content

Commit

Permalink
docs: Document how to deploy to our live dokku instance
Browse files Browse the repository at this point in the history
  • Loading branch information
Bjwebb authored and michaelwood committed Mar 15, 2021
1 parent fdae3aa commit b51efa7
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions docs/admin/ods-dokku.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Push to the existing dokku app

These instructions are for people with deploy access to Open Data Services's servers.

These instructions are for deploying to the **live instance**.

## Add your ssh key to dokku if you haven't already

`scp` the key to the server, and then on the server:

```
dokku ssh-keys:add name_for_your_key_here path/to/your_key.pub
```

## Set up your local git repo

On your local machine, inside a clone of this repository:

```
# Add the dokku remote
git remote add dokku-live dokku@dokku1.dokku.opendataservices.uk0.bigv.io:standards-lab-live
```

## Do a deploy

On your local machine:

```
git push dokku-live main
```

0 comments on commit b51efa7

Please sign in to comment.