Skip to content

Hadramy116/django-ng2-starter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Django Starter kit featuring Angular 2

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 49.0%
  • Python 24.9%
  • TypeScript 13.7%
  • CSS 8.4%
  • HTML 4.0%