Set the OPENAI_API_KEY environment variable with your OpenAI API key before starting the application:
export OPENAI_API_KEY=your-api-keyTo start the application in development mode, import it into your IDE and run the Application class.
You can also start the application from the command line by running:
./mvnwTo build the application in production mode, run:
./mvnw packageTo build a Docker image, run:
docker build -t my-application:latest .If you use commercial components, pass the license key as a build secret:
docker build --secret id=proKey,src=$HOME/.vaadin/proKey .The Building Apps guides contain hands-on advice for adding features to your application.