#1 - Instalar cli angular 6.0.7 npm install -g @angular/cli@6.0.7
#2 - Verificar versão ng --version
#Client Api marketplace(AspNetCoreAngular)
This project was generated with Angular CLI version 6.0.7.
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.
Run ng generate component component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|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 ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via Protractor.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.
arquivo .dockerignore no diretório de contexto e incluindo o nome da pasta no arquivo. .dockerignore
node_modules
docker build -t angular .
docker run -p 80:80 --name angular-container -d angular
docker tag angular registry.heroku.com/cbarato/web docker push registry.heroku.com/cbarato/web heroku container:release web --app=cbarato
npm install -g heroku
heroku container:login
heroku create
nginx-custom.conf
#Git Branch echo "# Angular607" >> README.md git init git add README.md git commit -m "first commit" git remote add origin https://github.com/martinsnelson/Angular607.git git push -u origin master
Git global setup git config --global user.name "Nelson Martins" git config --global user.email "nelsontecti@gmail.com"
Create a new repository git clone https://gitlab.com/nelsontecti/cbaratomkapp.git cd cbaratomkapp touch README.md git add README.md git commit -m "add README" git push -u origin master
Push an existing folder cd existing_folder git init git remote add origin https://gitlab.com/nelsontecti/cbaratomkapp.git git add . git commit -m "Initial commit" git push -u origin master
Push an existing Git repository cd existing_repo git remote rename origin old-origin git remote add origin https://gitlab.com/nelsontecti/cbaratomkapp.git git push -u origin --all git push -u origin --tags
git branch --set-upstream git push -u origin my_branch
COPY ./nginx.conf /etc/nginx/nginx.conf