Nam G VU
Nam G VU

Reputation: 35424

How to deploy Question2Answer to the cloud via a Google App Engine instance?

I'm trying to deploy Question2Answer (Q2A) by following this official install guide - where we need to set up

  1. A web server to push Q2A source code to - uploading application folder to App Engine instance matched with this.
  2. A MySQL database and the according log-in account - this is matched by creating and configuring a Cloud SQL instance to work with our app engine instance.

Though I failed to get Q2A run on Google's cloud - as browing the deployed web I get the error as below snapshot.

How would you guys get it deployed successfully?

enter image description here

p.s.

Steps I have made to Q2A's PHP source code

  1. Entering MySQL database access credentials (by following this guide)

enter image description here

  1. Adding app.yaml file so as Google App Engine SDK would deploy Q2A application

enter image description here

The Q2A source code folder I'm working with is as below.

enter image description here

Upvotes: 0

Views: 300

Answers (1)

Adrián
Adrián

Reputation: 2880

You just need to remove the root password and leave it like this:

define('QA_MYSQL_PASSWORD', '');

You can find at the documentation that "when you connect from App Engine, you can use the root user and no password"

Hope it helps.

Upvotes: 3

Related Questions