-
Notifications
You must be signed in to change notification settings - Fork 2
/
start
executable file
·21 lines (16 loc) · 881 Bytes
/
start
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash
# set environmental variables - this handles adding to path so works, see https://twitter.com/rnartist_app/status/1369181657727664128
export RNAVIEW="$HOME/RNAVIEW"
export PATH=$RNAVIEW/bin:$PATH
# need to be set in the start, too so survive to launching of session
# Was doing here so it always has most up to date public version but maybe build takes too long? And
# so for now moving to postBuild to make sure at least works first and then decide if time tolerable
# for building during start later
# retrieve rnartistcore and build Kotlin library to describe and plot RNA secondary structures
#git clone https://github.com/fjossinet/RNArtistCore.git
#cd RNArtistCore/
#git pull
#mvn clean package
# this must be last line according to
# https://repo2docker.readthedocs.io/en/latest/config_files.html#start-run-code-before-the-user-sessions-starts
exec "$@"