remove old notes
parent
51a7e0faa9
commit
4f35866f99
|
@ -1,20 +1,3 @@
|
||||||
#######################################################################################################################################################
|
|
||||||
Azure DevOps Repository Password: nih65lpohjpmyru3sarcsg62rc26nknsksi7fqo7bas37ssqhpna
|
|
||||||
#######################################################################################################################################################
|
|
||||||
|
|
||||||
***********
|
|
||||||
** INFO: **
|
|
||||||
***********
|
|
||||||
|
|
||||||
In gridul de retea, pe fiecare linie va fi un buton care va deschide un log.
|
|
||||||
Log-ul va fi popup iar continutul lui poate fi ultima componenta de aici https://material-ui.com/components/app-bar/
|
|
||||||
**************************************************************************************************************************
|
|
||||||
|
|
||||||
https://medium.com/@tacomanator/environments-with-create-react-app-7b645312c09d
|
|
||||||
https://create-react-app.dev/docs/adding-custom-environment-variables/
|
|
||||||
https://stackoverflow.com/questions/55690143/what-is-the-difference-between-env-local-and-env-development-local
|
|
||||||
|
|
||||||
|
|
||||||
REACT v4:
|
REACT v4:
|
||||||
https://v4.mui.com/getting-started/installation/
|
https://v4.mui.com/getting-started/installation/
|
||||||
https://v4.mui.com/components/material-icons/
|
https://v4.mui.com/components/material-icons/
|
|
@ -1,37 +0,0 @@
|
||||||
#######################################################################################################################################################
|
|
||||||
Docker commands:
|
|
||||||
*****************
|
|
||||||
|
|
||||||
Create image:
|
|
||||||
--from solution folder:
|
|
||||||
docker image build -t "network-resurrector-frontend:1.0.0" .
|
|
||||||
docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 -t "tstanciu/sta-registry:network-resurrector-frontend-1.0.0-arm32v7" --push .
|
|
||||||
|
|
||||||
Run image:
|
|
||||||
docker run -p 5053:80 -it network-resurrector-frontend:1.0.0
|
|
||||||
|
|
||||||
Push image to registry:
|
|
||||||
--tag image
|
|
||||||
docker tag network-resurrector-frontend:1.0.0 alpine-nexus:8500/network-resurrector/network-resurrector-frontend:1.0.0
|
|
||||||
|
|
||||||
--login to registry
|
|
||||||
docker login --username=admin --password="***********" alpine-nexus:8500
|
|
||||||
|
|
||||||
--push image
|
|
||||||
docker push alpine-nexus:8500/network-resurrector/network-resurrector-frontend:1.0.0
|
|
||||||
|
|
||||||
Pull image from registry
|
|
||||||
--login to registry
|
|
||||||
|
|
||||||
--pull image
|
|
||||||
docker pull alpine-nexus:8500/network-resurrector/network-resurrector-frontend:1.0.0
|
|
||||||
|
|
||||||
Run container in prod env
|
|
||||||
docker run -d --name network-resurrector-frontend --restart=always -p 5009:80 alpine-nexus:8500/network-resurrector/network-resurrector-frontend:1.0.0
|
|
||||||
|
|
||||||
Rename container
|
|
||||||
docker rename <container_id> network-resurrector-frontend
|
|
||||||
#######################################################################################################################################################
|
|
||||||
|
|
||||||
Docker container last version: 1.0.0
|
|
||||||
#######################################################################################################################################################
|
|
Loading…
Reference in New Issue