Giter Site home page Giter Site logo

jiangzhonghui / ember-app-kit-simple-auth Goto Github PK

View Code? Open in Web Editor NEW

This project forked from erkarl/ember-app-kit-simple-auth

0.0 2.0 0.0 240 KB

Working example of ember-app-kit using ember-simple-auth for OAuth2 authentication.

License: Other

ember-app-kit-simple-auth's Introduction

ember-app-kit-simple-auth

Working example of ember-app-kit using ember-simple-auth for OAuth2 authentication.

Backend example for Django available at django-rest-framework-oauth2-provider-example.

Requirements

Install

Clone this repo

git clone [email protected]:erkarl/ember-app-kit-simple-auth.git
cd ember-app-kit-simple-auth 

Install the Grunt command-line tool globally (you might have to use sudo depending how you installed node.js)

npm install -g grunt-cli

Install the dependencies Grunt relies on to build

npm install

Install Bower, a package manager that keeps your front-end dependencies (including JQuery, Ember, and QUnit) up to date. You might have to use sudo depending how you installed node.js.

npm install -g bower
bower install

Fire up the development server

grunt server

Builds your application (in debug mode) and serves it. This task also will watch your application for changes, and will rebuild any time you change a file.

Launch http://localhost:8000 in your browser.

If you're using django-rest-framework-oauth2-provider-example as a backend the default username is ar and password ar.

...otherwise you can configure your client_id an client_secret in ../app/controllers/login.js and setup your server's token endpoint in ../app/app.js

Run tests

grunt

Builds your application (in debug mode) and runs its tests.

Build for production

grunt build:dist

Builds your application once in dist mode. This means your assets will be minified and version-stamped. This task also builds to the dist/ folder, which can be deployed to a static server in production.

ember-app-kit-simple-auth's People

Contributors

erkarl avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.