Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/leduong/django-angularjs-authentication
Django AngularJS Authentication
https://github.com/leduong/django-angularjs-authentication
Last synced: about 1 month ago
JSON representation
Django AngularJS Authentication
- Host: GitHub
- URL: https://github.com/leduong/django-angularjs-authentication
- Owner: leduong
- Created: 2014-08-13T14:32:12.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-08-13T14:41:06.000Z (over 10 years ago)
- Last Synced: 2023-08-02T05:22:36.514Z (over 1 year ago)
- Language: Python
- Size: 145 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
Awesome Lists containing this project
README
# Django AngularJS Authentication
Includes Way Generators (required git/nodejs/python2.7+)!
You're encouraged to setup a `virtualenv` to work in prior to configuring the dependencies.Client and Dev:
$ npm install -g bower grunt-cli
$ bower install
$ npm install
$ gruntLaunching The Testing and Demonstration App
-------------------------------------------
This is a work in progress, but it gives some hints on usage in a real world scenario.1. Create a Python virtualenv.
cd server
virtualenv env
source env/bin/activate # On Windows use `env\Scripts\activate`2. Install the dependencies:
pip install -r requirements.txt
3. Set up the database and fixtures (if first time use).
chmod +x manage.py
./manage.py syncdb
./manage.py schemamigration --initial app
./manage.py migrate rest_framework.authtoken
./manage.py createsuperuser4. Run the server:
source env/bin/activate
./manage.py runserver5. Point web browser to `http://localhost:8000/`.