Build Angular project for web
Build in a /dist folder
1 |
ng build |
1 |
ng build --target=production --environment=prod --base-href / |
Build in a /dist folder
1 |
ng build |
1 |
ng build --target=production --environment=prod --base-href / |
Add file to commit
1 |
git add . |
Do a commit
1 |
git commit -a -m "modification description" |
Push the project
1 |
git push origin master |
In the folder project
1 |
git init |
Link to url project
1 |
git remote add origin url-projet |
Add file to commit
1 |
git add . |
Do a commit
1 |
git commit -a -m "initial modification" |
Push the project
1 |
git push origin master |