Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thomashartm/rockstar-2024-client
AEM Rockstars 2024 Project - ChatAEM Nextjs App
https://github.com/thomashartm/rockstar-2024-client
Last synced: 6 days ago
JSON representation
AEM Rockstars 2024 Project - ChatAEM Nextjs App
- Host: GitHub
- URL: https://github.com/thomashartm/rockstar-2024-client
- Owner: thomashartm
- Created: 2024-03-22T08:01:16.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-03-22T10:11:35.000Z (10 months ago)
- Last Synced: 2024-11-14T15:06:28.594Z (about 2 months ago)
- Language: TypeScript
- Size: 191 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AEM Rockstar 2024 - Chat AEM Assistant
Demo project for the AEM Rockstar 2024 competition.
## Description
This is a serverside rendered chat application to help users with AEM related queries.## Getting Started
To run the development server execute the following commands:
```bash
nvm use
npm i
npm run dev
```Make sure that the all required environment variables are set:
DB_SECRET_NAME=
DB_SETTINGS_NAME=
OPENAI_API_KEY=Open [http://localhost:8080](http://localhost:8080) with your browser to see the result.
# Working with Docker
Build the docker container for local development
On Intel based hardware use the following command:
docker build --platform linux/amd64 -t chataemclient .
On Mac M1 and M2 use the following command:
docker build --platform linux/arm64 -t chataemclient .
Run the docker container
docker run -p 8080:8080 -d --name=chat chataemclient
# How to build and deploy
## Prerequisites
Using make to build and run the project requires to set up a local env file
touch .env
Then add the following environment variables to the .env file and replace the values with your own:
REGION=
ACCOUNT=
ECR_REPO=
ECR_VERSION=latest
DOCKER_PLATFORM=linux/arm64## Deploy the container to your AWS ECR
make deploy