Deploying to Google App Engine

Hi -

Trying to deploy to google app engine. Not entirely sure the issue, but encountering an nginx error. I have a couple questions:

  1. What is the production server expected to run on deployment? build/server.js?
  2. is there a way to change the deployment port? Seems google app engine expects 8080?

Hi George! :wave:

  1. Normally you should just run npx frontity build in order to build the project. You can then run your production server with npx frontity serve. Could you share more details about your setup to help us troubleshoot this?

  2. You can change the port with npx frontity serve --port 8080 if you want you application to run on port 8080.

Please post the error message that you receive from the app engine, thanks! :slight_smile:

1 Like

Yep! Figured it out. It just needed to be served on port 8080. Thanks!

1 Like