-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Made some edits in Getting Started #420
Conversation
|
||
Now, we will install the CDK core library (:py:mod:`@aws-cdk/cdk`). This | ||
library includes the basic classes needed to write CDK stacks and apps. | ||
Add @aws-cdk/core as a Dependency |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Revert, the name of the code package is now @aws-cdk/cdk
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
Add @aws-cdk/core as a Dependency | ||
================================= | ||
|
||
Install the |cdk| core library (:py:mod:`_aws-cdk_core`). This |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
References to modules should be :py:mod:`@aws-cdk/cdk`
. Please make sure you verify that they work.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Use **y-npm** to install the **@aws-cdk/cdk** package. We also need **@types/node** | ||
since we will be using **process.argv** in our code: | ||
Install the **@aws-cdk/core** package and the **@types/node**, | ||
the latter to use **process.argv**: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Identation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Replaced all tabs
|
||
CDK apps are modeled as classes which extend the :py:class:`@aws-cdk/cdk.App` | ||
|cdk| apps are modeled as classes which extend the :py:class:`_aws-cdk_core.App` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please fix
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
@@ -0,0 +1,204 @@ | |||
.. Copyright 2010-2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps separate into another PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also doesn't look finished
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure how I got the tutorial in here as it is in it's own PR. I'll remove it.
@@ -37,6 +37,8 @@ | |||
.. |npm-package| replace:: aws-cdk-tools | |||
.. |nuget-package| replace:: aws-cdk | |||
.. |maven-id| replace:: aws-cdk | |||
.. |git-repo| replace:: https://github.com/awslabs/aws-cdk | |||
.. |npm-cmd| replace:: y-npm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should now be npm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
@@ -600,7 +600,7 @@ Install the **@aws-cdk/s3** package: | |||
there is no need to explicitly install the |S3| library. | |||
|
|||
Next, define an |S3| bucket in the stack. |S3| buckets are represented by | |||
the :py:class:`_aws-cdk_s3.Bucket` class: | |||
the :py:class:`#aws-cdk/aws-s3.Bucket` class: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be @aws-cdk
(with "@")
By submitting this pull request, I confirm that my contribution is made under
the terms of the beta license.
Removed a lot of future tense (the xxx will ...); general tidying up.