Skip to content

Commit

Permalink
Updated for feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
Aravind-21-Test committed May 14, 2024
1 parent 8ff1a0c commit 5bc8b52
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 9 deletions.
13 changes: 7 additions & 6 deletions docs/explore-and-analyze-data/create-first-project.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,8 @@ Or learn about the [magic commands](/docs/explore-and-analyze-data/magic-command

Replace `ACCESS_KEY_ID`, `SECRET_ACCESS_KEY`, and `REGION` with your values.
```bash
%project_auth_create name=<Auth_Name>, project=<Project_Name>, key=<ACCESS_KEY_ID>, secret=<SECRET_ACCESS_KEY>, region=<REGION>
%project_auth_create name=<Authorization_Name>, project=<Project_Name>, key=<ACCESS_KEY_ID>, secret=<SECRET_ACCESS_KEY>, region=<REGION>
```


4. Deploy the engine.

Expand All @@ -81,17 +80,19 @@ Or learn about the [magic commands](/docs/explore-and-analyze-data/magic-command
%project_engine_deploy name=<Project_Name>, size=<Size_of_Engine>
```
The deployment process takes a few minutes. It generates a password.
6. Connect to the project.

5. Connect to the project.
```bash
%connect <Project_Name>
```
When the connection is made, provide the generated password.

7. Run the sample workload.
6. Run the sample workload.

:::note
Make sure you do not have tables named SalesCenter or SalesDemo in the selected database. Replace auth1 and the location values in the following example with your own values.
::::

a. Create a table to store the sales center data.

```sql
Expand Down Expand Up @@ -166,13 +167,13 @@ Or learn about the [magic commands](/docs/explore-and-analyze-data/magic-command
DROP TABLE SalesDemo;
```

8. Back up your project metadata and object definitions in your Git repository.
7. Back up your project metadata and object definitions in your Git repository.

```bash
%project_backup project=<Project_Name>
```

9. Suspend the engine to avoid paying for unneeded engine resources.
8. Suspend the engine to avoid paying for unneeded engine resources.
```bash
%project_engine_suspend project=<Project_Name>
```
Expand Down
10 changes: 7 additions & 3 deletions docs/explore-and-analyze-data/magic-commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,12 @@ Where:
- project: The project name and URL for its repository.

**Output**:

```
Name of the project and its Git repository URL
| NAME | URL |
|---------------|------- --|
| <Project_Name>| <Git_URL>|
```

## %project_auth_create
Expand Down Expand Up @@ -208,7 +212,7 @@ Where:

## %project_engine_deploy

**(For Azure, we're still working on the parameters keyvaultresourcegroup and networkresourcegroup.**
**For Azure, we're still working on the parameters keyvaultresourcegroup and networkresourcegroup.**

**Description**: Deploy an engine for the project. The deployment process takes a few minutes to complete. On successful deployment, a password is generated.

Expand Down Expand Up @@ -301,7 +305,7 @@ Where:
**Output**:
```
Started suspend
Success: Suspending Compute Engine
Success: Suspended Compute Engine
```

## %project_engine_list
Expand Down

0 comments on commit 5bc8b52

Please sign in to comment.