Skip to content

Latest commit

 

History

History
35 lines (30 loc) · 1.16 KB

README.md

File metadata and controls

35 lines (30 loc) · 1.16 KB
  1. mkdir /path/to/projectname
  2. from inside of one terminal window:
  3. git clone git@github.com:greenfieldhq/greenfield_rails.git
  4. cd greenfield_rails
  5. ./bin/greenfield_rails /path/to/projectname/rails_app
  6. Move the generated rails_app directory into /path/to/projectname/rails
  7. cd /path/to/projectname/rails
  8. mkdir -p .git/safe
  9. rails s
  10. from inside another terminal window
  11. git clone git@github.com:greenfieldhq/greenfield-base.git
  12. cp -R ember /path/projectname/ember
  13. 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
  1. npm install
  2. bower install
  3. ember serve # NOTE: default proxy is set in the .ember-cli file
  4. in a broswer, navigate to http://localhost:4200
  5. check rails/db/seeds.rb for sample users to login with
  6. Finally, git init from the root /path/to/projectname