Skip to content

benxu3/software-product-sprint-project-2022

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This directory is where you'll write all of your code!

By default it contains a barebones portfolio web app.

Run server locally in cloudshell

To run the server locally, you'll need to start a datastore emulator first. Install the emulator by following https://cloud.google.com/datastore/docs/tools/datastore-emulator#installing_the_emulator.

Steps for running the server:

  1. In a cloudshell tab, start the emulator by running:

    gcloud beta emulators datastore start --project avritt-sps-summer22 --data-dir ./.datastore
    
  2. In another cloudshell tab, get the proper environment variables for the java server to connect to the datastore emulator:

    $(gcloud beta emulators datastore env-init --data-dir ./.datastore)
    

Then in the same choudshell tab, start the java server:

```
mvn package exec:java
```
  1. Click the 'Web Preview' > 'Preview on port 8080' button.

Deploy code to app engine

To deploy to appengine, run:

mvn package appengine:deploy

About

No description, website, or topics provided.

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 35.3%
  • JavaScript 34.6%
  • HTML 23.5%
  • CSS 6.6%