config/proc.sh in traquitana-0.1.1 vs config/proc.sh in traquitana-0.1.2
- old
+ new
@@ -133,10 +133,19 @@
bundle exec rake db:migrate 2> /dev/null
fi
}
#
+# Check if the channels dir exists
+#
+function channels() {
+ if [ ! -d app/assets/javascripts/channels ]; then
+ mkdir -p app/assets/javascripts/channels
+ fi
+}
+
+#
# Precompile assets if needed
#
function assets() {
if [ -d app/assets ]; then
msg "Compiling assets ... "
@@ -249,9 +258,10 @@
# here is where things happens on the server
install_new_files "${config_id}"
fix_gems
createdb
+channels
migrate
assets
permissions
# restart server