omarslvd / angular2-quickstart

Angular 2 QuickStart

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Angular 2 QuickStart

Angular 2 quickstart from 5 min quickstart

This is not the perfect arrangement for your application. It is not designed for production. It exists primarily to get you started quickly with learning and prototyping in Angular 2

Create a new project based on the QuickStart

Clone this repo into new project folder (e.g., my-proj).

git clone  https://github.com/angular/quickstart  my-proj
cd my-proj

Discard everything "git-like" by deleting the .git folder.

rm -rf .git  # non-Windows
rd .git /S/Q # windows

Create a new git repo

Initialize this project as a local git repo and make the first commit:

git init
git add .
git commit -m "Initial commit"

Create a remote repository for this project on the service of your choice.

Grab its address (e.g. https://github.com/<my-org>/my-proj.git) and push the local repo to the remote.

git remote add origin <repo-address>
git push -u origin master

Install npm packages

Install the npm packages described in the package.json and verify that it works:

npm install
npm start

About

Angular 2 QuickStart

License:MIT License


Languages

Language:JavaScript 47.1%Language:HTML 25.7%Language:TypeScript 20.2%Language:CSS 6.9%