From 843f54208246d702fae66fa63725782865199ed3 Mon Sep 17 00:00:00 2001 From: Tudor Stanciu Date: Sat, 2 May 2020 05:10:32 +0300 Subject: [PATCH] notes --- Notes | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 Notes diff --git a/Notes b/Notes deleted file mode 100644 index b63dfbf..0000000 --- a/Notes +++ /dev/null @@ -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