{"id":20676616,"url":"https://github.com/intermediadesigns/code-sage-ai-oi-mini","last_synced_at":"2025-09-04T16:33:45.854Z","repository":{"id":256862148,"uuid":"856641204","full_name":"IntermediaDesigns/code-sage-ai-oi-mini","owner":"IntermediaDesigns","description":null,"archived":false,"fork":false,"pushed_at":"2024-09-13T01:25:57.000Z","size":2217,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-17T14:56:09.151Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://code-sage-ai-oi-mini.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/IntermediaDesigns.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-12T23:57:07.000Z","updated_at":"2024-09-13T01:26:01.000Z","dependencies_parsed_at":"2024-09-13T13:17:37.326Z","dependency_job_id":"1ab587fc-ad7f-4671-9c5e-3b987ae79dd8","html_url":"https://github.com/IntermediaDesigns/code-sage-ai-oi-mini","commit_stats":null,"previous_names":["intermediadesigns/code-sage-ai-oi-mini"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IntermediaDesigns%2Fcode-sage-ai-oi-mini","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IntermediaDesigns%2Fcode-sage-ai-oi-mini/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IntermediaDesigns%2Fcode-sage-ai-oi-mini/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IntermediaDesigns%2Fcode-sage-ai-oi-mini/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IntermediaDesigns","download_url":"https://codeload.github.com/IntermediaDesigns/code-sage-ai-oi-mini/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242906433,"owners_count":20204839,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-16T21:13:08.502Z","updated_at":"2025-03-10T18:46:52.822Z","avatar_url":"https://github.com/IntermediaDesigns.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Code Sage AI - Deployment Instructions\n\n## Recent Changes\n\nWe've made several changes to improve the deployment process and address the issue with the missing routes-manifest.json file:\n\n1. Updated `package.json` with new scripts:\n   - Added a `vercel-build` script that runs linting before building.\n   - Added a `postinstall` script to ensure the project is built after dependencies are installed.\n\n2. Updated `vercel.json` with more specific configurations:\n   - Specified the use of the custom `vercel-build` command.\n   - Added environment variable configurations.\n\n3. Updated `next.config.mjs` with additional configurations:\n   - Enabled `reactStrictMode`.\n   - Added experimental `serverActions` support.\n   - Included a `rewrites` function for API routes.\n\n## Deployment Steps\n\nTo deploy this project on Vercel:\n\n1. Ensure all changes are committed and pushed to your GitHub repository.\n\n2. Log in to your Vercel account and navigate to your project.\n\n3. If you're creating a new deployment:\n   - Click \"Add New\" \u003e \"Project\"\n   - Select the repository containing this project\n   - Vercel should automatically detect it as a Next.js project\n\n4. In the project settings, ensure the following environment variables are set:\n   - `NEXT_PUBLIC_CONVEX_URL`\n   - `NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY`\n   - `OPENAI_API_KEY`\n   - `CLERK_SECRET_KEY`\n\n5. Deploy the project.\n\n6. Once the deployment is complete, Vercel will provide you with a URL to access your application.\n\nIf you encounter any issues during deployment, check the build logs in the Vercel dashboard for error messages or warnings.\n\n## Local Development\n\nTo run the project locally:\n\n1. Install dependencies:\n   ```\n   npm install\n   ```\n\n2. Run the development server:\n   ```\n   npm run dev\n   ```\n\n3. Open [http://localhost:3000](http://localhost:3000) in your browser to see the result.\n\n## Troubleshooting\n\nIf you continue to encounter issues with the routes-manifest.json file, try the following:\n\n1. Clear the Vercel project cache and redeploy.\n2. Ensure all environment variables are correctly set in the Vercel project settings.\n3. Check that the project's dependencies are up to date, especially Next.js and related packages.\n\nIf problems persist, review the Vercel build logs for any specific error messages or warnings that may provide additional insight into the issue.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintermediadesigns%2Fcode-sage-ai-oi-mini","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fintermediadesigns%2Fcode-sage-ai-oi-mini","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintermediadesigns%2Fcode-sage-ai-oi-mini/lists"}