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
Skeleton to kick off projects using AWS Lambda functions with PHP. Because AWS Lambda does not natively support PHP, the Bref Framework is used which provides a layer to execute PHP code on AWS Lambda.
4
+
5
+
## Getting Started
6
+
7
+
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
* Store AWS key and secret in env vars. You may include them in your `.bash_profile` / `.zshrc`:
15
+
```
16
+
export AWS_ACCESS_KEY_ID=YOUR_AWS_KEY
17
+
export AWS_SECRET_ACCESS_KEY=YOUR_AWS_SECRET
18
+
export AWS_DEFAULT_REGION=eu-central-1
19
+
```
20
+
21
+
#### Local serverless installation
22
+
Most commands run in docker images. The bref console commands can not be executed in docker though, but must be executed locally. To use these commands, PHP >=7.2 and serverless must be installed.
23
+
24
+
See installation instructions for serverless: https://bref.sh/docs/installation.html#serverless
25
+
26
+
## Running the tests
27
+
28
+
TODO: Explain how to run the automated tests for this system
0 commit comments