Edit on GitHub
Report issue
Page history

Run Geddy.js on Google App Engine Flexible Environment

Author(s): @jmdobry ,   Published: 2017-01-10

## Geddy.js

Geddy is a simple, structured web framework for Node.js

– geddyjs.org

You can check out Node.js and Google Cloud Platform to get an overview of Node.js itself and learn ways to run Node.js apps on Google Cloud Platform.


  1. Create a project in the Google Cloud Platform Console.
  2. Enable billing for your project.
  3. Install the Google Cloud SDK.


  1. Install the Geddy.js CLI tool:

    npm install -g geddy
  2. Create a new Geddy.js project (this may take a moment):

    geddy gen app testProject
  3. Change directory into the new project:

    cd testProject


  1. Run the app with the following command:

  2. Visit http://localhost:4000 to see the new project's home page.


By default the Geddy.js app will listen on port 4000 in production mode, so it must be updated to listen on the port specified by the PORT environment variable available in the Google App Engine environment.

  1. Open config/production.js and change port: 4000 to port: process.env.PORT || 4000.

  2. Now run the following command to deploy your app:

    gcloud app deploy
  3. Visit http://YOUR_PROJECT_ID.appspot.com to see the deployed app.

Submit a Tutorial

Share step-by-step guides


Request a Tutorial

Ask for community help


GCP Tutorials

Tutorials published by GCP


Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see our Site Policies. Java is a registered trademark of Oracle and/or its affiliates.