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

Made some edits in Getting Started #420

Merged
merged 10 commits into from
Jul 31, 2018
Merged

Made some edits in Getting Started #420

merged 10 commits into from
Jul 31, 2018

Conversation

Doug-AWS
Copy link
Contributor

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.


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
Copy link
Contributor

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

Copy link
Contributor Author

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
Copy link
Contributor

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.

Copy link
Contributor Author

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**:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Identation

Copy link
Contributor Author

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`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please fix

Copy link
Contributor Author

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.
Copy link
Contributor

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

Copy link
Contributor

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

Copy link
Contributor Author

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
Copy link
Contributor

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

Copy link
Contributor Author

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:
Copy link
Contributor

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 "@")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants