To run the project locally, follow the steps:
- Install docker and docker compose guide to install
- clone the repository,
$ git clone https://github.com/divy-vinayak/apple-slice.git
$ cd apple-slice
- Rename the .env.example file to .env
- Put your openAI api key inside the .env file , if you're not using any self hosted LLM model.
- In the root of the project, open terminal and run the following commands
$ docker compose up
- In another terminal, run
$ docker exec -it apple-slice-app /bin/bash
$ npx prisma migrate dev
$ exit
- Navigate to localhost:3000
- Go to Signup and register with a user and start playing with the application