-
Notifications
You must be signed in to change notification settings - Fork 0
Installation and maintenance
Henri Sjöblom edited this page Nov 12, 2024
·
2 revisions
Requirements:
- VS Code or similiar text editor / IDE
- Node.js / NPM
- Supabase account
- OpenAI API key
First install the node_modules and run the application in development mode:
npm i- Setup
.env.localvalues based on.env.example npm run dev- The app will open in http://localhost:3000/
First install the node_modules, then build the application and finally start it:
npm i- Setup
.env.localvalues based on.env.example npm run buildnpm run start- The app will open in http://localhost:3000/
To ensure security and the best performance, the app will need to be updated regularly. This can be done with the command npm audit fix, which attempts to upgrade automatically packages that have vulnerabilities. The current Next.js in the project is version 14, and the new 15 version shouldn't have any breaking changes.
There will likely be some issues in the future with the OpenAI library, since it's still in the early days
We hosted our application on Vercel. Vercel takes care of all the maintenance, scaling, and performance optimization, so we don't have to worry about it.