diff --git a/README.md b/README.md index f537691..3b5fb9c 100644 --- a/README.md +++ b/README.md @@ -42,8 +42,7 @@ Requirements: To run the Shellac web app server, do this in a terminal: - cd svc/shellac - ./run + ./svc/shellac/run To install the Chrome extension: diff --git a/svc/shellac/run b/svc/shellac/run index 1ede85e..55d1d54 100755 --- a/svc/shellac/run +++ b/svc/shellac/run @@ -1,3 +1,6 @@ #!/bin/sh -cd ../.. + +filename=`realpath "$(type $0 | awk '{print $3}')"` +dirpath=`dirname ${filename}` +cd "$dirpath/../.." exec bin/webapp.py 8783