Skip to content

Commit

Permalink
README.md: add quickstart, remove separate doc
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-roos committed Sep 12, 2023
1 parent 0d893e9 commit 98b8af7
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 17 deletions.
39 changes: 38 additions & 1 deletion demos-pipeline/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,45 @@
An AWS [Cloud Developer Toolkit](https://docs.aws.amazon.com/cdk/v2/guide/home.html) Library for building Yocto projects in AWS.

## Quickstart
to create yocto demo build pipelines and cloud resources.

### Setting Up

#### clone repo
```bash
git clone https://github.com/aws4embeddedlinux/meta-aws-ci.git -b cdk-pipeline
cd meta-aws-ci/demos-pipeline
```

#### install npm packages:

```bash
npm install .
```

#### updating - if you have an already have packages installed before
```bash
npm update
```

#### build:

```bash
npm run build
```

#### deploy cloud resources for all demo pipelines:
```bash
# only required once
cdk bootstrap

cdk deploy --all
```

The newly created pipeline `ubuntu_22_04BuildImagePipeline` from the CodePipeline console will start automatically.

After that completes, the DemoPipeline in the CodePipeline console page is ready to run.

Refer to [`docs/setup.md`](docs/setup.md)

## Useful commands

Expand Down
16 changes: 0 additions & 16 deletions demos-pipeline/docs/setup.md

This file was deleted.

0 comments on commit 98b8af7

Please sign in to comment.