The following instructions will get you a copy of the project up and running on your local machine for development and testing purposes. The project is built using React Native and Expo. The backend API calls are built upon the DocsGPT docker service. Therein, you will find instructions on how to get the backend up and running.
Clone the repo and install the dependencies.
cd Mobile-DocsGPT
npm install
Create a .env
file in the root directory of the project. This file will contain the configuration variables for the app. The following variables are required:
API_KEY=<OPEN-AI-APIKEY>
A sample .env
file is provided in the root directory of the project as .env_template
.
To start the Expo server, run the following
npm start
To run the app on Android, you can either use an emulator or connect your Android device to your computer. If you are using an emulator, you can run the following command to start the emulator.
npm run android