8000 GitHub - severinedarlot/emberchaos
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

severinedarlot/emberchaos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

85 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

emberchaos

Prerequisite

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

How use this project

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

How deploy this project

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

How this project has been created

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

Documentation

Devise: http://givan.se/p/00000000

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
0