Skip to content
Snippets Groups Projects

Draft : Resolve "Add a CLI tool"

+ 3
3
@@ -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
Loading