-
Notifications
You must be signed in to change notification settings - Fork 0
System Manual
- RAM: 4 GB
- CPU: Dual-core processor
- Storage: 10 GB available disk space
-
Web Application:
- Windows 10 or later
- Mac OS Mojave or later
- Ubuntu 18.04 or later
-
Mobile Application:
- Android 8.0 (API Level 26) or later
To run the backend in your local machine, follow the steps below. Make sure you have Docker installed on your system. Also ensure that you can run Docker Compose commands. Then follow these steps:
- Clone the repository:
git clone https://github.com/bounswe/bounswe2024group2.git cd bounswe2024group2
- Build and start the application:
docker compose build docker compose up -d
After setup:
-
API: Available at
http://localhost:8000
-
Annotations Server: Available at
http://localhost:8001
-
WEB: Available at
http://localhost:3000
-
MAILHOG: View emails at
http://localhost:8025
This guide outlines the steps to set up, develop, and build the mobile application using React Native Community CLI.
Ensure the following prerequisites are installed and configured on your system:
- Node.js (version 16 or later)
-
React Native CLI: Install globally using:
npm install -g react-native-cli
-
Android Studio: Required for Android emulation and SDK tools.
- Install and configure the Android SDK.
- Ensure the
ANDROID_HOME
environment variable is set correctly.
- Clone the repository:
git clone https://github.com/bounswe/bounswe2024group2.git
- Navigate to the mobile directory:
cd mobile
- Switch to the
main
branch (if not already on it):git checkout main
Install the required dependencies for the application:
npm install
-
Install Android Studio and set up an emulator:
- Open Android Studio and go to
AVD Manager
. - Create a new emulator with the desired Android version (API Level 30 or higher).
- Start the emulator.
- Open Android Studio and go to
-
Verify Android SDK path is set:
- Add the following to your system's environment variables:
export ANDROID_HOME=$HOME/Android/Sdk export PATH=$PATH:$ANDROID_HOME/emulator:$ANDROID_HOME/tools:$ANDROID_HOME/tools/bin:$ANDROID_HOME/platform-tools
- Apply the changes:
source ~/.zshrc
- Open System Properties:
- Press
Win + R
, typesysdm.cpl
, and hit Enter. - Go to the Advanced tab and click on Environment Variables.
- Press
- Add a new System Variable:
-
Variable Name:
ANDROID_HOME
-
Variable Value:
C:\Users\<your-username>\AppData\Local\Android\Sdk
-
Variable Name:
- Edit the Path variable under System Variables:
- Add the following paths:
%ANDROID_HOME%\emulator %ANDROID_HOME%\tools %ANDROID_HOME%\tools\bin %ANDROID_HOME%\platform-tools
- Add the following paths:
- Save the changes and restart your terminal.
- Start the development server:
npx react-native start
- Once the development server is running, press
a
in the same terminal.
This will automatically build and run the app on the connected Android emulator.
- Enable Developer Mode and USB Debugging on your Android device.
- Connect the device to your computer using a USB cable.
- Run the app on your device:
npx react-native start
- Press
a
in the terminal to deploy the app to your connected device.
For further information, please visit https://reactnative.dev/docs/environment-setup
To create a standalone APK for the mobile app:
-
Prepare a Keystore file:
- Navigate to the
android/app
directory:cd android/app
- Run the following command to generate a Keystore file:
keytool -genkey -v -keystore release-key.keystore -keyalg RSA -keysize 2048 -validity 10000 -alias your-key-alias
- Save the generated
release-key.keystore
in theandroid/app
directory.
- Navigate to the
-
Configure the Keystore:
- Open
android/app/build.gradle
and add the Keystore information:android { signingConfigs { release { storeFile file('release-key.keystore') storePassword 'your-store-password' keyAlias 'your-key-alias' keyPassword 'your-key-password' } } buildTypes { release { signingConfig signingConfigs.release minifyEnabled false shrinkResources false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } }
- Open
-
Build the APK:
cd android ./gradlew assembleRelease
-
The APK will be located at:
android/app/build/outputs/apk/release/app-release.apk
- Lab Report #1,24.09.2024
- Lab Report #2,01.10.2024
- Lab Report #3,08.10.2024
- Lab Report #4,15.10.2024
- Lab Report #5,06.11.2024
- Lab Report #9,10.12.2024
- 1st Meeting, 24.09.2024
- 2nd Meeting, 01.10.2024
- 3rd Meeting, 08.10.2024
- 4th Meeting, 15.10.2024
- 5th Meeting, 06.11.2024
- 8th Meeting, 03.12.2024
- 1st Meeting, 03.10.2024
- 2nd Meeting, 10.10.2024
- 3rd Meeting, 17.10.2024
- 4th Meeting, 19.10.2024
- 5th Meeting, 24.10.2024
- 6th Meeting, 02.11.2024
- 8th Meeting, 15.11.2024
- 9th Meeting, 28.11.2024
- 10th Meeting, 04.12.2024
- 11th Meeting, 12.12.2024
- Halil İbrahim Kasapoğlu
- Rukiye Aslan
- Kamil Deniz Coşkuner
- Mahmut Buğra Mert
- Furkan Şenkal
- Muhammed Erkam Gökcepınar
- Cem Güngör
- Oğuz Pançuk
Orkun Mahir Kılıç
SemanticFlix Archieve
- 1st Meeting,19.02.2024
- 2nd Meeting,21.02.2024
- 3rd Meeting,03.03.2024
- 4th Meeting,07.03.2024
- 5th Meeting,10.03.2024
- 6th Meeting,14.03.2024
- 7th Meeting,21.03.2024
- 8th Meeting,01.04.2024
- 9th Meeting,17.04.2024
- 10th Meeting,18.04.2024
- 11th Meeting,25.04.2024
- 12th Meeting,02.05.2024
- 13th Meeting,09.05.2024
- Halil İbrahim Kasapoğlu (Communicator)
- Rukiye Aslan
- Kamil Deniz Coşkuner
- Mahmut Buğra Mert
- İrem Nur Yıldırım
- Furkan Şenkal
- Muhammed Erkam Gökcepınar
- Osman Yasin Baştuğ
Okay DemirSait Hızlı