notes
parent
0da8956eb6
commit
843f542082
30
Notes
30
Notes
|
@ -1,30 +0,0 @@
|
|||
Test env variable:
|
||||
console.log(process.env.REACT_APP_TEST_KEY);
|
||||
|
||||
PUBLIC_URL=http://127.0.0.1/play-nine
|
||||
|
||||
Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Unrestricted
|
||||
|
||||
|
||||
|
||||
https://medium.com/@svinkle/how-to-deploy-a-react-app-to-a-subdirectory-f694d46427c1
|
||||
https://stackoverflow.com/questions/49429906/how-should-i-configure-create-react-app-to-serve-app-from-subdirectory
|
||||
https://skryvets.com/blog/2018/09/20/an-elegant-solution-of-deploying-react-app-into-a-subdirectory/
|
||||
|
||||
|
||||
---------------------
|
||||
Docker commands:
|
||||
---------------------
|
||||
docker image build -t "play-nine:1.0.0" .
|
||||
docker run -p 5050:80 -it play-nine:1.0.0
|
||||
|
||||
docker push cloud.canister.io:5000/tstanciu/play-nine:1.0.0
|
||||
docker pull cloud.canister.io:5000/tstanciu/play-nine:1.0.0
|
||||
|
||||
---------------------
|
||||
Registry: cloud.canister.io:5000/tstanciu
|
||||
User: tstanciu
|
||||
Key for readonly operations: ***REMOVED***
|
||||
|
||||
docker login --username=deploy+tstanciu --password=***REMOVED*** cloud.canister.io:5000
|
||||
docker login --username=yourcanisterID --password=yourpassword cloud.canister.io:5000
|
Loading…
Reference in New Issue