Monday, November 23, 2020

モジュール 5 - amazon.com

Amplify を使用すれば、複数のフロントエンドアプリケーション間で単一のバックエンドを簡単に共有できます。

ターミナルで他のプロジェクトディレクトリに移動し、次のコマンドを実行します。

mkdir other-project
cd other-project

amplify pull

? Do you want to use an AWS profile? accept the default Yes and press enter
? Please choose the profile you want to use select the profile you want to use and press enter
? Which app are you working on? select the backend you want to share and press enter
? Choose your default editor: select you prefered text editor and press enter
? Choose the type of app that you're building select the operating system for your new project and press enter
? Do you plan on modifying this backend? most of the time, select No and press enter. All backend modifications can be done from the original iOS project.

数秒後、次のメッセージが表示されます。

Added backend environment config object to your project.
Run 'amplify pull' to sync upstream changes.

プルされた 2 つの設定ファイルが確認できます。「このバックエンドを変更する予定はありますか?」という質問に「はい」と答えると、Amplify ディレクトリも表示されます。

➜  other-project git:(master) ✗ ls -al
total 24
drwxr-xr-x   5 stormacq  admin   160 Jul 10 10:28 .
drwxr-xr-x  19 stormacq  admin   608 Jul 10 10:27 ..
-rw-r--r--   1 stormacq  admin   315 Jul 10 10:28 .gitignore
-rw-r--r--   1 stormacq  admin  3421 Jul 10 10:28 amplifyconfiguration.json
-rw-r--r--   1 stormacq  admin  1897 Jul 10 10:28 awsconfiguration.json

Let's block ads! (Why?)



"ストレージ" - Google ニュース
November 24, 2020 at 03:12AM
https://ift.tt/2URZDug

モジュール 5 - amazon.com
"ストレージ" - Google ニュース
https://ift.tt/2tqBUHF
Shoes Man Tutorial
Pos News Update
Meme Update
Korean Entertainment News
Japan News Update
Share:

Related Posts:

0 Comments:

Post a Comment