start.sh 223 B

12345678910111213
  1. #!/bin/sh
  2. cd "$(dirname "$0")"
  3. if ! [ -d "run" ]; then
  4. mkdir -p run
  5. cd run
  6. mkdir web
  7. cp -fR ../res/graphiql web
  8. ../../../eliasdb server -import ../res/tutorial_data.zip
  9. else
  10. cd run
  11. ../../../eliasdb server
  12. fi