meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
ixc2024:tech:tools:backendoftheapplication [2024/05/27 17:23] hibaaixc2024:tech:tools:backendoftheapplication [2024/05/27 18:55] (current) hibaa
Line 263: Line 263:
    runtime: nodejs20    runtime: nodejs20
    entrypoint: node index.js    entrypoint: node index.js
-   service: node-express-api 
    # [END app_yaml]    # [END app_yaml]
  
Line 273: Line 272:
 -> **Deploy your App Locally** -> **Deploy your App Locally**
  
-  -   Close your command prompt and open it again +  - Close your command prompt and open it again 
-  -   Run **'gcloud** to make sure that everything is connected +  - Run **'gcloud** to make sure that everything is connected 
-  -   Navigate to your project folder **'cd waste-backend'** +  - Navigate to your project folder **'cd waste-backend'** 
-  -   Deploy your Node app by executing the command in root directory of your project+  - Run the command **'gcloud init'** 
 +  - Select **'1'** to re-initialize the configuration [default] with new settings 
 +  - Select the email account that you are using in your Cloud Console to perform operations for this configuration 
 +  - Pick the number allocated to your project 
 +  - Deploy your Node app by executing the command in root directory of your project
  
    gcloud app deploy    gcloud app deploy