From 4df31fa0d23d7c77fec8793ffbfdbf0f1afcbf75 Mon Sep 17 00:00:00 2001 From: Mohammad Mahdi Baghbani Pourvahid Date: Mon, 19 Dec 2022 13:01:08 +0330 Subject: [PATCH] modify: make sure script is executable, resolves #23 --- .gitpod.yml | 4 ++-- README.md | 7 ++++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.gitpod.yml b/.gitpod.yml index 3fb2307..87a3467 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -1,3 +1,3 @@ tasks: - - init: ./cyb-app/run-docker.sh gitpod build && ./cyb-app/run-docker.sh gitpod pull - - command: ./cyb-app/run-docker.sh gitpod up + - init: chmod +x ./cyb-app/run-docker.sh && ./cyb-app/run-docker.sh gitpod build && ./cyb-app/run-docker.sh gitpod pull + - command: chmod +x ./cyb-app/run-docker.sh && ./cyb-app/run-docker.sh gitpod up diff --git a/README.md b/README.md index 71cfada..629b891 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,8 @@ See [Federated Bookkeeping](https://federatedbookkeeping.org) for more info on t cd cyb-app chmod u+x ./run-docker.sh ./run-docker.sh dev pull -./run-docker.sh dev up --detach +./run-docker.sh dev up + ``` ### for developing on Gitpod: @@ -29,7 +30,7 @@ chmod u+x ./run-docker.sh cd cyb-app chmod u+x ./run-docker.sh ./run-docker.sh gitpod pull -./run-docker.sh gitpod up --detach +./run-docker.sh gitpod up ``` ### for deploying on VPS: @@ -37,5 +38,5 @@ chmod u+x ./run-docker.sh cd cyb-app chmod u+x ./run-docker.sh ./run-docker.sh prod pull -./run-docker.sh prod up --detach +./run-docker.sh prod up ```