Skip to content

Commit

Permalink
Merge pull request #2 from xgaia/master
Browse files Browse the repository at this point in the history
AskOmics 17.12
  • Loading branch information
xgaia authored Dec 18, 2017
2 parents 2e27153 + ee90b65 commit 308b12c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ MAINTAINER Xavier Garnier '[email protected]'
# Environment variables
ENV ASKOMICS="https://github.com/askomics/askomics.git" \
ASKOMICS_DIR="/usr/local/askomics" \
ASKOMICS_VERSION="17.09" \
ASKOMICS_VERSION="17.12" \
SPARQL_UPDATE=true

# Copy files
Expand Down
12 changes: 10 additions & 2 deletions start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ username="Galaxy" #FIXME: get the galaxy username
pw_hash="" # no password
salt="" # no salt

# sed the dump tempalate
# sed the dump template
cp /dump.template.nq /dump.nq
sed -i "s@__USERNAME__@$username@g" /dump.nq
sed -i "s/__EMAIL__/$USER_EMAIL/g" /dump.nq
Expand Down Expand Up @@ -40,5 +40,13 @@ while ! wget -o /dev/null http://localhost:8890/conductor; do
sleep 1s
done

# manage proxy
if [[ $PROXY_PREFIX != "" ]]; then
# There is a proxy, export env for the askomics proxy
export ASKOCONFIG_app_colon_main_filter_hyphen_with='proxyprefix'
export ASKOCONFIG_filter_colon_proxyprefix_use='egg:PasteDeploy#prefix'
export ASKOCONFIG_filter_colon_proxyprefix_prefix=$PROXY_PREFIX
fi

# Start AskOmics
${ASKOMICS_DIR}/startAskomics.sh -r -d dev
${ASKOMICS_DIR}/startAskomics.sh -r

0 comments on commit 308b12c

Please sign in to comment.