Please enter project_id (required):プロジェクトIDを入力します
Please enter db_instance (required):DBインスタンス名を入力します
Please enter db_name (required):スキーマ名を入力します
Please enter db_user (defaults to 'root'):スキーマへの操作権限があるDBユーザー名を入力します
Please enter db_password (required):上記ユーザーのパスワードを入力します
Do you want to use the same db user and password for local run? (Y/n) Yを入力します
以下入力例です。
Please enter project_id (required): test-wordpress1
Please enter db_instance (required): tutorial-sql-instance
Please enter db_name (required): tutorialdb
Please enter db_user (defaults to 'root'): tutorial-user
Please enter db_password (required):(上記ユーザーのパスワードを入力)
Do you want to use the same db user and password for local run? (Y/n)Y
スクリプトの処理が完了するとターミナルに下記内容が表示されます。
Copied necessary files with parameters.
Your WordPress project is ready at 作業用ディレクトリ/my-wordpress-project
Please choose the region where you want your App Engine application
located:
[1] asia-east2 (supports standard and flexible)
[2] asia-northeast1 (supports standard and flexible)
[3] asia-northeast2 (supports standard and flexible)
[4] asia-northeast3 (supports standard and flexible)
[5] asia-south1 (supports standard and flexible)
[6] australia-southeast1 (supports standard and flexible)
[7] europe-west (supports standard and flexible)
[8] europe-west2 (supports standard and flexible)
[9] europe-west3 (supports standard and flexible)
[10] europe-west6 (supports standard and flexible)
[11] northamerica-northeast1 (supports standard and flexible)
[12] southamerica-east1 (supports standard and flexible)
[13] us-central (supports standard and flexible)
[14] us-east1 (supports standard and flexible)
[15] us-east4 (supports standard and flexible)
[16] us-west2 (supports standard and flexible)
[17] us-west3 (supports standard and flexible)
[18] us-west4 (supports standard and flexible)
[19] cancel
Please enter your numeric choice:
確認を求められますので「Y」を入力しEnterを押下します。
Creating App Engine application in project [test-wordpress1] and region [asia-northeast1]....done.
Services to deploy:
descriptor: [/Users/xxx/wordpress/my-wordpress-project/app.yaml]
source: [/Users/xxx/wordpress/my-wordpress-project]
target project: [test-wordpress1]
target service: [default]
target version: [20200506t150411]
target url:
Configurations to update:
descriptor: [/Users/xxx/wordpress/my-wordpress-project/cron.yaml]
type: [cron jobs]
target project: [test-wordpress1]
Do you want to continue (Y/n)?
デプロイが完了するとターミナルに下記メッセージが表示されます。
Visit the Cloud Platform Console Task Queues page to view your queues and cron jobs.
You can stream logs from the command line by running:
$ gcloud app logs tail -s default
To view your application in the web browser run:
$ gcloud app browse