diff --git a/README.md b/README.md index 9628050..19a0b8e 100644 --- a/README.md +++ b/README.md @@ -76,8 +76,8 @@ To deploy the app, do the following steps: - save the updated docker image: `docker save rti-star: | gzip > rti-star.tar.gz` - scp the new image to mallard: `scp path/to/rti-star.tar.gz @:~/` - ssh into mallard: `ssh @` -- scp the new image to cfs-production: `sudo scp -i ~/.ssh/cfs-production-admin.pem rti-star.tar.gz @:~/rti-star/backup` - `sudo su gitlab-runner` +- scp the new image to cfs-production: `sudo scp -i ~/.ssh/cfs-production-admin.pem rti-star.tar.gz @:~/rti-star/backup` - ssh into cfs-production: `ssh -i ~/.ssh/cfs-production-admin.pem @` - Go to the `rti-star` directory: `cd rti-star` - Load the new image: `docker load --input backup/rti-star.tar.gz` @@ -89,7 +89,7 @@ To deploy the app, do the following steps: image: rti-star: ... ``` -- `docker-compose up - d` +- `docker-compose up -d` Licensing