-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: Document how to deploy to our live dokku instance
- Loading branch information
1 parent
fdae3aa
commit b51efa7
Showing
1 changed file
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
``` |