Skip to content

Latest commit

 

History

History
39 lines (26 loc) · 875 Bytes

README.md

File metadata and controls

39 lines (26 loc) · 875 Bytes

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.