Working locally:
.env
file in the root directory - refer to .env_example.docker compose up --build
at the root directory.Deployment:
git clone {repository_url}
..env
file in the root directory - refer to .env_example./frontend/src/lib/baseURL.ts
with your public URL and port.docker compose build
at the root directory.docker compose up
at the root directory.To build this project, ensure you have the following tools installed on your system:
Clone the Repository: bash git clone https://github.com/bounswe/bounswe2024group6.git cd bounswe2024group6/mobile/bulingo
Install Dependencies: Run the following command to install the necessary npm packages: bash npm install
Log In to EAS (if not logged in): Ensure you are logged in to your EAS account: bash eas login
(You will be prompted for your EAS account credentials.)
Build the Project Using EAS: To build the project for Android, use the following command: bash eas build -p android --profile preview
Note: You may be prompted for your EAS account username and password in this step if not already logged in.
Access the APK: Once the build completes, you will receive a URL to download the APK. You can find the APK download link:
Install the APK on Your Device: After downloading the APK file, you can install it on your Android device. Enable "Install from Unknown Sources" in your phone’s settings if needed.
The backend can be accessed through the following URL: http://161.35.208.249:8000
The frontend can be accessed through the following URL: http://161.35.208.249:5173