rake ruby 2.1.5 Rails 4.1.6 postgresql (do not forgot to create a user with the right to create a database) You may have a problem with Gnome : impossible to write in the gem directory, to force using a version of rails, etc. Please check if your terminal have the option "exectute command as connection shell"
node ember-cli: npm install -g ember-cli bower: npm install -g bower
bundle install
cp ton-fichier-secret.yml config/secrets.yml
rake db:create db:migrate // just one time
rails s
cd ember
npm install
bower install
ember server --proxy http://localhost:3000
See the client part: http://localhost:4200/ See the client tests: http://localhost:4200/tests
Put the ember build result in rails public directory:
./build.sh
Use Shelly (https://shellycloud.com/documentation/quick_start) to deploy :
gem 'shelly-dependencies' // just one time
Ruby, rails, Node, Npm, Postgres were already installed, next:
rails new emberchaos -B -S -d postgresql
npm install -g ember-cli
cd emberchaos
ember new emberchaos --skip-git
mv emberchaos ember
git add .
git commit -m "initialization"
git push origin master
rm -rf app/assets
In rails/Gemfile remove the following:
coffee-rails
jquery-rails
turbolinks
jbuilder
And add :
gem 'active_model_serializers'
group :development, :test do
gem 'sqlite3'
end
group :production do
gem 'pg'
end
Next, run in rails:
bundle install
Devise: http://givan.se/p/00000000