Skip to content

Commit

Permalink
Updated a command to install latest npm version (#2690)
Browse files Browse the repository at this point in the history
- Added a command to install datastore packages
  • Loading branch information
komaljoshi-SSK authored Oct 23, 2024
1 parent f8e2816 commit 652657d
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,14 @@ echo "Exporting GCLOUD_PROJECT"
export GCLOUD_PROJECT=$DEVSHELL_PROJECT_ID

echo "Installing dependencies"
npm install -g [email protected]
npm install
npm update

echo "To exporting Cloud Storage"
export GCLOUD_BUCKET=$DEVSHELL_PROJECT_ID-media

echo "Creating Datastore entities"
npm install @google-cloud/datastore
node setup/add_entities.js

echo "Project ID: $DEVSHELL_PROJECT_ID"
echo "Project ID: $DEVSHELL_PROJECT_ID"

0 comments on commit 652657d

Please sign in to comment.