Skip to content

thaleslima/DublinBus-Backend

Repository files navigation

Dublin Bus Backend for App Engine Standard (Java 8)

Dublin bus app (https://play.google.com/store/apps/details?id=net.dublin.bus)

See the Google App Engine standard environment documentation for more detailed instructions.

Setup

• Download and initialize the Cloud SDK

gcloud init
  • Create an App Engine app within the current Google Cloud Project

    gcloud app create

Maven

export M2_HOME=/Applications/apache-maven-3.5.4
export M2=$M2_HOME/bin
export PATH=$M2:$PATH

Running locally

mvn appengine:run

To use vist: http://localhost:8080/

Deploying

mvn appengine:deploy
mvn appengine:deployCron

To use vist: https://YOUR-PROJECT-ID.appspot.com

Gradle

Running locally

gradle appengineRun

If you do not have gradle installed, you can run using ./gradlew appengineRun.

To use vist: http://localhost:8080/

Deploying

gradle appengineDeploy

If you do not have gradle installed, you can deploy using ./gradlew appengineDeploy.

To use vist: https://YOUR-PROJECT-ID.appspot.com

Testing

mvn verify

or

gradle test

As you add / modify the source code (src/main/java/...) it's very useful to add unit testing to (src/main/test/...). The following resources are quite useful:

About

Dublin Bus Backend for App Engine Standard (Java 8)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages