Skip to content

ianjsikora/Djangular_UserAuth

Repository files navigation

Djangular_UserAuth

  • Basic registration, login and logout application using Django, REST and AngularJS.
  • Based on thinkster.io tutorial.

Installation

NOTE: Requires virtualenv, virtualenvwrapper, postgress and Node.js.

  • Fork this repository.
  • $ git clone git@github.com:<your username>/Djangular_UserAuth.git
  • $ mkvirtualenv APP_NAME
  • $ cd Djangular_UserAuth/
  • $ pip install -r requirements.txt
  • $ npm install -g bower
  • $ npm install
  • $ bower install
  • If the DB isn't running, in the virtualenv, run postgres -D /usr/local/var/postgres
  • In the virtualenv, psql postgres
  • In postgres, open create database PROJECT_NAME;
  • Open your project in PYCharm at connect virtualenv etc. See notes django_setup
  • In local_settings.py edit PROJECT_NAME to match your database name
DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.postgresql_psycopg2',
        'NAME': 'PROJECT_NAME',
    }
}
  • $ python manage.py migrate
  • $ python manage.py runserver

About

Basic registration, login and logout application using Django, REST and AngularJS

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors