This project was generated with Angular CLI version 1.0.0-rc.2.
See earlier releases
v0.1.0-alpha.0 (latest)
$ git clone git@github.com:AshtreeCC/ng-af-pwa-seed.git YOUR_PROJECT_NAME
Then change origin and clean the git repo. See more...
Open project folder
$ cd YOUR_PROJECT NAME
Delete git history
$ rm -rf .git
Initialise git again
$ git init
And I reccommend git flow
$ git flow init
Add your own as origin
$ git remote add origin git@github.com:YOUR_NAME/YOUR_PROJECT_NAME
(use set-url
instead of add
if you have not initialised a new repo)
Add this repo as upstream
$ git remote add upstream https://github.com/AshtreeCC/ng-af-pwa-seed.git
Check your remotes
$ git remote -v
Copy the files and run yarn
.
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
See more...
Run ng generate component component-name
to generate a new component. You can also use ng generate directive/pipe/service/class/module
.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory. Use the -prod
flag for a production build.
Run npm run precache
to use sw-precache to create a service worker and store assets. Check /swconfig.json
for files to cache.
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via Protractor.
Before running the tests make sure you are serving the app via ng serve
.
Run npm run live
to start a live server on http://localhost:8000
.
//@TODO
//@TODO
//@TODO
//@TODO
@TODO
//@TODO
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.