diff --git a/cli b/cli index f40ac595f6730dd6d25262def8e7800682d9b9ab..1075f9409a784a3af5691724b48329f5ef2bc7a3 100755 --- a/cli +++ b/cli @@ -17,8 +17,8 @@ cmdup="docker-compose up" cmddown="docker-compose down" cmdinitsubmodule="git submodule init" cmdupdatetsubmodule="git submodule update" -cmdbuildmirador="docker run --rm -v $PWD:/opt -it node:12 /bin/sh -c 'cd /opt && npm install && npm run build:es'" -cmdbuildmiradorplugin="docker run --rm -v $PWD:/opt -it node:12 /bin/sh -c 'cd /opt && npm install && npm run build'" +cmdbuildmirador="docker run --rm -v mirador-video-annotation:/opt -it node:12 /bin/sh -c 'cd /opt && npm install && npm run build:es'" +cmdbuildmiradorplugin="docker run --rm -v annotations-plugin:/opt -it node:12 /bin/sh -c 'cd /opt && npm install && npm run build'" MIRADOR_FOLDER=mirador-video-annotation MIRADOR_ANNOTATION_FOLDER=annotations-plugin @@ -55,7 +55,7 @@ case $action in echo "** Start install ..." FILE=.env if [ ! -f "$FILE" ]; then - echo "** $FILE does not exist. Please copy .env template cp .env.template .env and set COMPOSE_FILE to suit your needs" + echo "** $FILE does not exist. Please copy .env template. [cp .env.template .env] and set COMPOSE_FILE to suit your needs" exit 0 fi