mkdir /path/to/projectname
- from inside of one terminal window:
git clone git@github.com:greenfieldhq/greenfield_rails.git
cd greenfield_rails
./bin/greenfield_rails /path/to/projectname/rails_app
- Move the generated
rails_app
directory into/path/to/projectname/rails
cd /path/to/projectname/rails
mkdir -p .git/safe
rails s
- from inside another terminal window
git clone git@github.com:greenfieldhq/greenfield-base.git
cp -R ember /path/projectname/ember
- Update the app name
These files reference the base app name, "Greenfield", and should be updated (use-dashes-if-needed).
- app/index.html
- app/templates/application.hbs
- README.md
- tests/index.html
These files reference the base app name, "greenfield", and should be updated.
- app/index.html
- bower.json
- config/environment.js
- package.json
- tests/index.html
npm install
bower install
ember serve
# NOTE: default proxy is set in the .ember-cli file- in a broswer, navigate to
http://localhost:4200
- check
rails/db/seeds.rb
for sample users to login with - Finally,
git init
from the root /path/to/projectname