Ember-devise-auth-demo
Ember.js demonstration of user registration and session management between Ember.js and Rails. Thanks to Simple Labs for the Ember Simple Auth library with Devise support for authentication, authorization, and session management.
This project is written to work with Devise Ember Auth Demo. Please clone and run this project locally to test. I hope to host a test server soon so you don't have to do this.
Prerequisites
You will need the following things properly installed on your computer.
How to Install Prerequisites on a Macintosh Computer
- Install XCode. It is available at the Apple Mac Store
- Install Homebrew - The missing package manager for OS X
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)
- Install Node.js and the Nodel Package Manager
brew install node
- Install Bower - The package manager used to manage build dependencies.
npm install -g bower
- Install the Ember Command Line Interface
npm install -g ember-cli
Installation
git clone git@github.com:michaeldeitcher/ember_devise_auth_demo.git
this repositorycd ember_devise_auth_demo
npm install
bower install
Running / Development without local Rails server
ember s --proxy http://devise-ember-auth-demo.herokuapp.com
- Visit your app at http://localhost:4200.
Running / Development with local Rails server
- Install and run Rails server on port 3000: Devise Ember Auth Demo
ember server --proxy http://localhost:3000
- Visit your app at http://localhost:4200.
Code Generators
Make use of the many generators for code, try ember help generate
for more details
Running Tests
ember test
ember test --server
Building
ember build
(development)ember build --environment production
(production)
Deploying
Specify what it takes to deploy your app.
Further Reading / Useful Links
- ember.js
- ember-cli
- Development Browser Extensions
- Why install using Homebrew
- Ember Simple Auth