Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOCSP-34580: Update --location flag in template app documentation #633

Merged
merged 3 commits into from
Nov 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions source/apps/copy.txt
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ Procedure
{+cli-bin+} app create \
--name "myapp-copy" \
--deployment-model "LOCAL" \
--location "US-OR"
--provider-region "aws-us-west-2"

.. step:: Migrate Secrets to the New App

Expand Down Expand Up @@ -126,7 +126,7 @@ Procedure

.. step:: Create a New Configuration Directory

Create a new direcotry to store the copied App's
Create a new directory to store the copied App's
configuration files. You can create a new repository for the
copied App or keep both Apps' configurations in the same
repository using branches or subdirectories.
Expand Down Expand Up @@ -156,11 +156,11 @@ Procedure
# Navigate to the new App's directory
cd myapp-copy
# Create the new App. The create command saves the new
# App's configiration file directory in the current directory
# App's configuration file directory in the current directory
{+cli-bin+} app create \
--name "myapp-copy" \
--deployment-model "LOCAL" \
--location "US-OR"
--provider-region "aws-us-west-2"
cp -r myapp-copy/* .
rm -rf myapp-copy
# Navigate back to the root of the repo
Expand Down
6 changes: 4 additions & 2 deletions source/apps/create.txt
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,10 @@ Procedure
- ``GLOBAL``
- ``LOCAL``

* - ``--location``
- Defines the App's :ref:`deployment region <deployment-region>`.
* - ``--provider-region``
- Defines the App's deployment region.

For a list of available regions, see :ref:`<deployment-regions>`.

* - ``--environment``
- Sets the App's :ref:`environment tag <app-environment>`.
Expand Down
5 changes: 2 additions & 3 deletions source/tutorial/dotnet.txt
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,8 @@ on it.
{+cli-bin+} app create \
--name MyTutorialApp \
--template maui.todo.flex \
--deployment-model global \
--location us-va \
--environment development
--deployment-model global \
--environment development

The command creates a new directory in your current path with the
same name as the value of the ``--name`` flag.
Expand Down
5 changes: 2 additions & 3 deletions source/tutorial/flutter.txt
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,8 @@ on it.
{+cli-bin+} app create \
--name MyTutorialApp \
--template flutter.todo.flex \
--deployment-model global \
--location us-va \
--environment development
--deployment-model global \
--environment development

The command creates a new directory in your current path with the
same name as the value of the ``--name`` flag.
Expand Down
5 changes: 2 additions & 3 deletions source/tutorial/kotlin.txt
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,8 @@ on it.
{+cli-bin+} app create \
--name MyTutorialApp \
--template kotlin.todo.flex \
--deployment-model global \
--location us-va \
--environment development
--deployment-model global \
--environment development

The command creates a new directory in your current path with the
same name as the value of the ``--name`` flag.
Expand Down
5 changes: 2 additions & 3 deletions source/tutorial/react-native.txt
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,8 @@ on it.
{+cli-bin+} app create \
--name MyTutorialApp \
--template react-native.todo.flex \
--deployment-model global \
--location us-va \
--environment development
--deployment-model global \
--environment development

The command creates a new directory in your current path with the
same name as the value of the ``--name`` flag.
Expand Down
5 changes: 2 additions & 3 deletions source/tutorial/swiftui.txt
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,8 @@ on it.
{+cli-bin+} app create \
--name MyTutorialApp \
--template swiftui.todo.flex \
--deployment-model global \
--location us-va \
--environment development
--deployment-model global \
--environment development

The command creates a new directory in your current path with the
same name as the value of the ``--name`` flag.
Expand Down
Loading