This project was generated with Angular CLI version 7.3.5.
Run commands to clear AngularCLI:
npm uninstall -g angular-cli @angular/cli
npm cache clean
npm install -g @angular/cliRun 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 pages/module_name/component_name --module=layouts/app-layout/app-layout.module to generate a new component as page. As example: ng generate component pages/budget/dashboard --module=layouts/app-layout/app-layout.module. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.
Run ng generate service services/module_name/service_name to generate a new service as http client. As example: ng generate service services/elucidation/occurrences_types.
Run ng build to build the project in development. To build homolog run npm run buildhomolog and for production run npm run buildprod.
Stop all services & remove all images: $ docker stop $(docker ps -aq) && docker rm $(docker ps -qa) && docker rmi -f $(docker images -qa)
Run docker run -d -p 3500:80 --name ui -it imageID. IF stuck or to kill the containr use this command to remove container: docker rm -f containerID. To access the Docker as BASH: $ docker exec -it container sh
Run docker build -t ui:remote .. Remember to update it version!
-
Com a imagem ja criada digite o seguinte código no terminal
docker tag ui:remote msdaf/ui:remote -
Insira o seguinte código para dar um push para o DockeHub e aguarde
docker push msdaf/ui:remote
- Install python3
- Install venv
$ pip3 install virtualenv - Create venv at registry folder:
$ cd registry && python3 -m virtualenv venv - Install python dependencies:
$ pip install -r requirements.txt
Run ng test to execute the unit tests via Karma.
Run ng e2e to execute the end-to-end tests via Protractor.
$ flask run --host=0.0.0.0
$ FLASK_ENV=development flask run -h 0.0.0.0