local precompile assets
This commit is contained in:
@@ -0,0 +1 @@
|
||||
full
|
||||
@@ -29,6 +29,7 @@ group :assets do
|
||||
#gem 'compass-rails'
|
||||
gem 'js-routes'
|
||||
gem "font-awesome-rails"
|
||||
gem 'capistrano-local-precompile', require: false
|
||||
|
||||
# See https://github.com/sstephenson/execjs#readme for more supported runtimes
|
||||
#gem 'therubyracer', :platforms => :ruby
|
||||
|
||||
@@ -123,6 +123,8 @@ GEM
|
||||
capistrano-bundler (1.1.3)
|
||||
capistrano (~> 3.1)
|
||||
sshkit (~> 1.2)
|
||||
capistrano-local-precompile (0.0.2)
|
||||
capistrano
|
||||
capistrano-rails (1.1.2)
|
||||
capistrano (~> 3.1)
|
||||
capistrano-bundler (~> 1.1)
|
||||
@@ -444,6 +446,7 @@ DEPENDENCIES
|
||||
bootstrap-sass (~> 2.3)
|
||||
bourbon
|
||||
capistrano (~> 3.0)
|
||||
capistrano-local-precompile
|
||||
capistrano-rails (~> 1.1)
|
||||
capistrano-rvm (~> 0.1)
|
||||
capybara-screenshot
|
||||
|
||||
@@ -11,6 +11,10 @@ App.ApplicationController = Ember.Controller.extend
|
||||
@set 'notice', null
|
||||
openDebugger: ->
|
||||
debugger
|
||||
evalDebugString: ->
|
||||
if text = $('#debug-eval-string')
|
||||
$('.debug-info').append eval(text)
|
||||
$('.debug-info').append "\n"
|
||||
|
||||
currentPathDidChange: (->
|
||||
@set 'notice', ''
|
||||
@@ -106,5 +110,3 @@ App.ApplicationController = Ember.Controller.extend
|
||||
@redirect_to 'index'
|
||||
|
||||
@store.find('list', 'current').then(success, error)
|
||||
didInsertElement: (e)->
|
||||
#debugger
|
||||
|
||||
@@ -8,3 +8,7 @@
|
||||
.display-row
|
||||
.display-label
|
||||
.display-field: a.button href="./index.html"=t 'settings.reload_application'
|
||||
.row
|
||||
.small-8.columns: input#debug-eval-string
|
||||
.small-4.columns: button{action "evalDebugString"} Debug
|
||||
.row: .small-12.columns: pre.panel.debug-info
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
# config valid only for Capistrano 3.1
|
||||
# lock '3.2.1'
|
||||
require 'capistrano/local_precompile'
|
||||
|
||||
set :application, 'mozo.bar'
|
||||
#set :repo_url, 'root@uflows.com:/var/git/qwaiter.git'
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
0.9.21
|
||||
0.9.22
|
||||
|
||||
Reference in New Issue
Block a user