Fixing sed syntax problem
This commit is contained in:
@@ -20,6 +20,10 @@ Getting it running
|
|||||||
|
|
||||||
docker run -d -p 9000:9000 -v /path/to/this/repo:/etc/hackpad/src hackpad
|
docker run -d -p 9000:9000 -v /path/to/this/repo:/etc/hackpad/src hackpad
|
||||||
|
|
||||||
|
It'll build hackpad and run schema migrations and such. If you want to see what's going on, do:
|
||||||
|
|
||||||
|
docker logs -f [container name]
|
||||||
|
|
||||||
4. Fix networking (one time only). If you're on OS X or Windows, you'll need to set up some port forwarding to have Hackpad work properly. Linux folk can skip this.
|
4. Fix networking (one time only). If you're on OS X or Windows, you'll need to set up some port forwarding to have Hackpad work properly. Linux folk can skip this.
|
||||||
|
|
||||||
1. Open VirtualBox
|
1. Open VirtualBox
|
||||||
|
|||||||
@@ -23,12 +23,12 @@ if [ "$1" = 'hackpad' ]; then
|
|||||||
|
|
||||||
echo "-->Editing configuration files"
|
echo "-->Editing configuration files"
|
||||||
|
|
||||||
sed 's:^export SCALA_HOME=".*$:export SCALA_HOME="/usr/share/java":' -i '' bin/exports.sh
|
sed 's:^export SCALA_HOME=".*$:export SCALA_HOME="/usr/share/java":' -i'' bin/exports.sh
|
||||||
sed 's:^export SCALA_LIBRARY_JAR=".*$:export SCALA_LIBRARY_JAR="$SCALA_HOME/scala-library.jar":' -i '' bin/exports.sh
|
sed 's:^export SCALA_LIBRARY_JAR=".*$:export SCALA_LIBRARY_JAR="$SCALA_HOME/scala-library.jar":' -i'' bin/exports.sh
|
||||||
sed 's:^export JAVA_HOME=".*$:export JAVA_HOME="/usr/share/java":' -i '' bin/exports.sh
|
sed 's:^export JAVA_HOME=".*$:export JAVA_HOME="/usr/share/java":' -i'' bin/exports.sh
|
||||||
|
|
||||||
cp etherpad/etc/etherpad.localdev-default.properties etherpad/etc/etherpad.local.properties
|
cp etherpad/etc/etherpad.localdev-default.properties etherpad/etc/etherpad.local.properties
|
||||||
sed 's:__email_addresses_with_admin_access__:admin@localhost.info:' -i '' etherpad/etc/etherpad.local.properties
|
sed 's:__email_addresses_with_admin_access__:admin@localhost.info:' -i'' etherpad/etc/etherpad.local.properties
|
||||||
|
|
||||||
echo "-->Running build"
|
echo "-->Running build"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user