Re-deploy

pull/274/head
Rick Carlino 2016-09-21 15:41:33 -05:00
parent c4baad332c
commit 226e0b5838
3 changed files with 16 additions and 3 deletions

0
.buildpacks 100644
View File

View File

@ -17,8 +17,7 @@ FarmBot::Application.routes.draw do
devise_for :users, :controllers => {:registrations => "registrations"}
# Routes for the single page Javascript app.
web_app_path = "/app"
get web_app_path, to: 'dashboard#index', as: :dashboard
match web_app_path + "/*path", to: redirect(web_app_path), via: :all
get "/app", to: 'dashboard#index', as: :dashboard
match "/app/*path", to: redirect("/app"), via: :all
end

14
frontend_build.yml 100644
View File

@ -0,0 +1,14 @@
language: ruby
rvm:
- 2.2.3
before_script:
- npm install
services:
- mongodb
notifications:
irc:
- "chat.freenode.net#farmbot"
env:
# A 'fake' secret token for use in our CI env.
# Don't worry- this isn't the real one.
- SECRET_TOKEN=e815982094c62436066bafc9151f2d33c4a351a776654cb7487476de260a4592