-
First, clone
.env.template
to.env
and set the variables -
Run the docker-compose.yml:
docker-compose up -d
-
Pull ollama model:
# In the folder of docker-compose.yml docker-compose exec ollama ollama pull llama3.1
-
Install dependencies:
npm install
-
Run database migrations:
npx prisma migrate dev
-
Run the development server:
npm run dev
Open http://localhost:3000 with your browser to see the result.
-
First, clone
.env.template
to.env
and set the variables -
Run the docker-compose.yml:
docker-compose up -d
-
Pull ollama model:
# In the folder of docker-compose.yml docker-compose exec ollama ollama pull llama3.1
-
Install dependencies:
npm install
-
Run database migrations:
npx prisma migrate deploy
-
Create the production build:
npm run build
-
Run server:
npm start
Open http://localhost:3000 with your browser to see the result.