-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathread.txt
More file actions
50 lines (36 loc) · 2.43 KB
/
read.txt
File metadata and controls
50 lines (36 loc) · 2.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
REACT REDUX
Project info
Project name
React-asp-net
Project ID
react-asp-net
Project number
794138043468
REACT at GCP IS USING ANGULAR BACKEND ASP.NET WITH ID: unique-yew-244216
API 'https://unique-yew-244216.appspot.com
Cloud Shell Project skeleton ASP.NET Core web app created with : dotnet new mvc -o React-ASp.NET-SIGMA
CREATE RELEASE ASP.NET HELP HERE https://codelabs.developers.google.com/codelabs/cloud-app-engine-aspnetcore/#6
In GCP https://console.cloud.google.com/cloudshell/editor?project=react-asp-net
cd React-ASp.NET-SIGMA/
publish:
dotnet publish -c Release
In GCP https://console.cloud.google.com/cloudshell/editor?project=react-asp-net
Navigate to the publish folder for the next step.
cd React-ASp.NET-SIGMA/bin/Release/netcoreapp2.1/publish
gcloud app deploy --version v0 - funkade inte
gcloud app deploy --version v1 - funkade inte fick slänga Microsoft.EntityFrameworkCore då det inte var versions kompatobelt med GCP
gcloud app deploy --version v2
All done!
CREATE RELEASE REACT HELP HERE https://medium.com/tech-tajawal/deploying-react-app-to-google-app-engine-a6ea0d5af132
DONT FORGET SETTING VERSIONING IN nav-menu.component AND package.json TODO create autostamping of versions from the package.json
Run this to create a version:
VERSIONING: PROD NAME IS: react-redux
Go to : \AspNetCoreReactRedux\AspNetCoreReactRedux\ClientApp and run:
gcloud app deploy --version react-redux (angular-v1 fick error Module build failed: Error: Cannot find module 'eslint/lib/formatters/stylish' . Deletade modules folder och lock file and then run npm install)
gcloud app deploy --version react-redux (react-v2 fick error Module build failed: Error: Cannot find module 'eslint/lib/formatters/stylish' . Deletade everything with the name eslint from package.json and eletade modules folder och lock file and then run npm install)
gcloud app deploy --version react-redux (react-v3)
gcloud app deploy --version react-redux (react-v4 now using ngular backend api)
gcloud app deploy --version react-redux (react-v5 result list have a better formar look & feel, message "No result!" is showed if map no search result)
gcloud app deploy --version react-redux (react-v6 removed the "No result!" text on first render, dont need to show "No result!" when a search has not been done)
2019-08-15 gcloud app deploy --version react-redux (react-v7 added in menu a button to view the xml db)
Check GCA traffic splitting because it gets reset on public new version