Skip to content
Django Starter kit featuring Angular 2
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
core
ngApp
project
.gitignore
LICENSE
README.md
db.sqlite3
manage.py
requirements.txt

README.md

django-ng2-starter

Boilerplate featuring Angular2 and Django.

This repository is based on the following tutorial series.

Django and Angular2 Tutorial - Getting Staretd

and

Django and Angular2 Tutorial part 2 - Rendering Templates

Project Setup

#Create a new Virtual Environment.
virtualenv ng2env
cd ng2env

#Install django
pip install -r requirements.txt

#Fork or clone this repo.
git clone https://github.com/aswinkp/django-ng2-starter.git
cd django-ng2-starter/ngApp/

#install NPM dependencies
npm install
#start npm
npm start

#Open a new terminal window
cd ../
#Run Django Development Server
python manage.py runserver

Though we use django server npm should be running behind to compile typescript to javascript instantly.

You can’t perform that action at this time.