mirror of
https://github.com/x1xhlol/system-prompts-and-models-of-ai-tools.git
synced 2026-08-16 21:24:09 +00:00
46 lines
689 B
Markdown
46 lines
689 B
Markdown
# zFunctions
|
|
|
|
|
|
|
|
Use the following instructions to deploy the sample application.
|
|
|
|
## Requirements
|
|
- [Python 3.12](https://www.python.org/downloads/).
|
|
Install python 3.12
|
|
|
|
- [The AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-install.html)
|
|
Install the latest version of AWS CLI.
|
|
|
|
## Setup
|
|
|
|
Git clone this repo.
|
|
```
|
|
cd zfunctions
|
|
```
|
|
|
|
Install python virtual environment.
|
|
```
|
|
pip install virtualenv
|
|
python -m venv venv
|
|
source venv/bin/activate
|
|
pip install -r requirements.txt
|
|
```
|
|
|
|
## Run locally
|
|
|
|
Configure env file.
|
|
|
|
```
|
|
cp env .env
|
|
```
|
|
|
|
Add credentials
|
|
|
|
```
|
|
cd function/fa_onboarding
|
|
python3 lambda_function.py
|
|
```
|
|
|
|
## Deploy
|
|
To deploy the application, run ...
|