|
| 1 | +# A CHANGEME-FRAMEWORK App Running On AWS Lambda |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | +This application was generated with the following command: |
| 6 | + |
| 7 | +```bash |
| 8 | +CHANGEME-CREATECOMMAND |
| 9 | +``` |
| 10 | + |
| 11 | +✨ No modifications or SDKs were made or added to the code to "make it work" in AWS Lambda. |
| 12 | + |
| 13 | +Check out our other [examples](https://github.com/scaffoldly/scaffoldly-examples) and Learn more at [scaffoldly.dev](https://scaffoldly.dev)! |
| 14 | + |
| 15 | +### Working example |
| 16 | + |
| 17 | +[CHANGEME-URL](CHANGEME-URL) |
| 18 | + |
| 19 | +## First, Scaffoldly Config was added... |
| 20 | + |
| 21 | +In the project's [`CHANGEME-CONFIGFILE`](CHANGEME-CONFIGFILE) file, the `scaffoldly` configuration was added: |
| 22 | + |
| 23 | +- Note 1 |
| 24 | +- Note 2 |
| 25 | + |
| 26 | +``` |
| 27 | +CHANGEME-CONFIG |
| 28 | +``` |
| 29 | + |
| 30 | +See the [Scaffoldly Docs](https://scaffoldly.dev/docs/config/) for additional configuration directives. |
| 31 | + |
| 32 | +## Then, deployed to AWS Lambda |
| 33 | + |
| 34 | +```bash |
| 35 | +npx scaffoldly deploy |
| 36 | +``` |
| 37 | + |
| 38 | +See the [Scaffoldly Docs](https://scaffoldly.dev/docs/cli/#scaffoldly-deploy) for details on the `scaffoldly deploy` command. |
| 39 | + |
| 40 | +### After deploy the app is available on a public URL |
| 41 | + |
| 42 | +```bash |
| 43 | +🚀 Deployment Complete! |
| 44 | + 🆔 App Identity: CHANGEME-IDENTITY |
| 45 | + 📄 Env Files: .env.main, .env |
| 46 | + 📦 Image Size: CHANGEME-IMAGESIZE MB |
| 47 | + 🌎 URL: CHANGEME-URL |
| 48 | +``` |
| 49 | + |
| 50 | +## GitHub Action added for CI/CD |
| 51 | + |
| 52 | +A [`scaffoldly.yml`](.github/workflows/scaffoldly.yml) was added to `.github/workflows` so that a push will trigger a deploy |
| 53 | + |
| 54 | +``` |
| 55 | +name: Scaffoldly Deploy |
| 56 | +
|
| 57 | +# ... snip ... |
| 58 | +
|
| 59 | +jobs: |
| 60 | + deploy: |
| 61 | + runs-on: ubuntu-latest |
| 62 | + steps: |
| 63 | + - name: Checkout |
| 64 | + uses: actions/checkout@v4 |
| 65 | +
|
| 66 | + - name: Deploy |
| 67 | + uses: scaffoldly/scaffoldly@v1 |
| 68 | + with: |
| 69 | + secrets: ${{ toJSON(secrets) }} |
| 70 | +``` |
| 71 | + |
| 72 | +See the [Scaffoldly Docs](https://scaffoldly.dev/docs/gha/) for additional GitHub Actions directives. |
| 73 | + |
| 74 | +## Questions, Feedback, and Help |
| 75 | + |
| 76 | +Join our [Discussions](https://github.com/scaffoldly/scaffoldly/discussions) on GitHub. |
| 77 | +Join our [Community](https://scaffoldly.dev/community) on Discord. |
| 78 | + |
| 79 | +## License |
| 80 | + |
| 81 | +This code is licensed under the [Apache-2.0](LICENSE.md) license. |
| 82 | + |
| 83 | +The [`scaffoldly`](https://github.com/scaffoldly/scaffoldly) toolchain is licensed under the [FSL-1.1-Apache-2.0](https://github.com/scaffoldly/scaffoldly?tab=License-1-ov-file) license. |
| 84 | + |
| 85 | +Copyright 2024 Scaffoldly LLC |
0 commit comments