You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CUSTOM_BUILD.md
+19-4Lines changed: 19 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,8 +10,22 @@ Before you start customizing the solution, make sure you have the following prer
10
10
- Python (>=3.9)
11
11
- NodeJS (v18 or later)
12
12
- Docker
13
-
14
13
> if you are using ARM CPU like Apple M1 chip, please run `export DOCKER_DEFAULT_PLATFORM=linux/amd64` for building amd64 container image.
14
+
- Install Poetry. Below is one of the ways to install poetry. For other ways to install poetry, refer [Poetry installation instructions](https://python-poetry.org/docs/#installation)
15
+
16
+
```shell
17
+
## Install pipx via pip
18
+
python3 -m pip install --user pipx
19
+
python3 -m pipx ensurepath
20
+
21
+
## OR Install pipx via brew
22
+
brew install pipx
23
+
pipx ensurepath
24
+
25
+
## Install poetry
26
+
pipx install poetry
27
+
pipx inject poetry poetry-plugin-export
28
+
```
15
29
16
30
Clone the repository and make desired code changes.
17
31
@@ -29,6 +43,7 @@ The following is the file structure of the solution. You can customize the solut
29
43
│ ├── cdk-solution-helper/ - helper function for converting CDK output to a format compatible with the AWS Solutions pipelines.
30
44
│ ├── build-open-source-dist.sh - builds the open source package with cleaned assets and builds a .zip file in the /open-source folder for distribution to GitHub
31
45
│ ├── build-s3-dist.sh - builds the solution and copies artifacts to the appropriate /global-s3-assets or /regional-s3-assets folders.
46
+
│ ├── run-unit-tests.sh - runs all the unit tests within the /source folder
32
47
├── source/
33
48
│ ├── constructs
34
49
│ │ ├── bin
@@ -58,9 +73,9 @@ The following is the file structure of the solution. You can customize the solut
58
73
After you have customized the solution. Run the unit tests to ensure the solution is working as expected. Review the generated coverage report.
0 commit comments