Skip to content
Browse files

Removed symbolic links to recreate them with the deploy script

  • Loading branch information...
1 parent ae1c227 commit 73d5d08323583714d74c160ea877a9bab5e07598 @wshearn committed Mar 23, 2012
View
17 .openshift/action_hooks/deploy
@@ -14,3 +14,20 @@ sed -i 's/OPENSHIFT_NOSQL_DB_HOST/'$OPENSHIFT_NOSQL_DB_HOST'/' $settingsfile
sed -i 's/OPENSHIFT_NOSQL_DB_PORT/'$OPENSHIFT_NOSQL_DB_PORT'/' $settingsfile
sed -i 's/OPENSHIFT_NOSQL_DB_PASSWORD/'$OPENSHIFT_NOSQL_DB_PASSWORD'/' $settingsfile
sed -i 's/OPENSHIFT_APP_NAME/'$OPENSHIFT_APP_NAME'/' $settingsfile
+
+# Set up the symbolic links needed for etherpad to work
+pushd $OPENSHIFT_REPO_DIR
+if [[ -f ./server.js ]]
+then
+ rm server.js
+fi
+ln -s node/server.js .
+popd
+
+pushd $OPENSHIFT_REPO_DIR/static/js
+for i in ./*
+do
+ renamed=$(echo $i | sed 's/.js$//g')
+ ln -s $i $renamed
+done
+popd
View
1 server.js
View
1 static/js/AttributePoolFactory
View
1 static/js/Changeset
View
1 static/js/ace
View
1 static/js/ace2_common
View
1 static/js/ace2_inner
View
1 static/js/broadcast
View
1 static/js/broadcast_revisions
View
1 static/js/broadcast_slider
View
1 static/js/changesettracker
View
1 static/js/chat
View
1 static/js/collab_client
View
1 static/js/colorutils
View
1 static/js/contentcollector
View
1 static/js/cssmanager
View
1 static/js/domline
View
1 static/js/draggable
View
1 static/js/excanvas
View
1 static/js/farbtastic
View
1 static/js/jquery
View
1 static/js/json2
View
1 static/js/linestylefilter
View
1 static/js/pad
View
1 static/js/pad_connectionstatus
View
1 static/js/pad_cookie
View
1 static/js/pad_docbar
View
1 static/js/pad_editbar
View
1 static/js/pad_editor
View
1 static/js/pad_impexp
View
1 static/js/pad_modals
View
1 static/js/pad_savedrevs
View
1 static/js/pad_userlist
View
1 static/js/pad_utils
View
1 static/js/plugins
View
1 static/js/prefixfree
View
1 static/js/security
View
1 static/js/skiplist
View
1 static/js/timeslider
View
1 static/js/undo-xpopup
View
1 static/js/undomodule
View
1 static/js/virtual_lines

0 comments on commit 73d5d08

Please sign in to comment.
Something went wrong with that request. Please try again.