https://github.com/ildella/scaffoldamples
https://github.com/ildella/scaffoldamples
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ildella/scaffoldamples
- Owner: ildella
- Archived: true
- Created: 2020-11-16T13:34:33.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-04-21T10:54:40.000Z (about 4 years ago)
- Last Synced: 2025-04-28T13:03:50.849Z (about 1 year ago)
- Language: JavaScript
- Size: 1.15 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Scaffoldup
[](https://circleci.com/gh/ildella/scaffoldup)
## Try it
```shell
yarn
yarn test
```
At this stage, to try a smoke end-to-end test on local machine, we need to start the app and run tests in a different shell:
```shell
## shell 1
yarn workspace @scaffoldample/region-from-postcode start
## shell 2
./e2e-local.sh
```
## Install local dependencies
```shell
./installers/install-circleci-cli.sh
./installers/install-k6.sh
./installers/install-terraform.sh
```
## Manual Deployment
So far we can deploy 1 service with these shell script:
```shell
aws s3api create-bucket --bucket=scaffoldamples-serverless --region=eu-west-2 --create-bucket-configuration LocationConstraint=eu-west-2
cd infrastructure && terraform init && cd ..
yarn workspace @scaffoldample/region-from-postcode deploy.postcode
```