Deploying Audibit involves completing six key steps:
- Preparation of the basic environment: Install Git and Node.js (v16+ recommended), create .env file for storing API keys
- Warehouse Cloning: Implementation
git clone https://github.com/YinTokey/Audibit.git
Get the latest code - Dependent Installation: Install Next.js, React, and other front-end dependencies via npm install
- Key ConfigurationOpenAI API Key, Firestore service account and Pinecone vector database.
- local test: Run npm run dev to start the development server and verify the base functionality
- production deployment: Use npm run build to build production packages that can be deployed to cloud platforms such as Netlify
Special Notes:
- Firestore database name must be consistent with the Pinecone index (default is Audibit)
- Cron expressions for GitHub Action need to be adjusted for time zones
- Netlify deployments need to specify .next as the output directory
For mobile users, you also need to clone the audibit-mobile repository separately and configure the React Native development environment to connect to the API endpoints of the web service.
This answer comes from the articleAudibit: turning popular tech articles into ready-to-listen audio podcastsThe