# OGL v2.0 App Handover Documentation - Dev Mode :::info ### How to Run the Server - Backend ::: #### Open the Repositry You can choose any method 1, 2, or 3 >1. clone the repository from >https://github.com/olaffharloworld/oglwellness-app.git >2. in your terminal >git clone https://github.com/olaffharloworld/oglwellness-app.git >3. open the repository folder via VSCode #### Set Up For Running Server Run these command in your terminal. We're using node.js for some parts, npm install is needed if you haven't got it installed. ```diff=1 npm install && npm run dev ``` Command below is for the Laravel. ```diff=1 composer install composer require barryvdh/laravel-dompdf php artisan config:cache php artisan serve ``` :::danger #### We are using MySQL as DB server. #### If you're in macOS dev, must up the *docker* for MySQL image! ::: We're done with running backend server! :::success ### How to Run the Mobile App - Frontend ::: You can choose any method 1, 2, or 3 >1. clone the repository from https://github.com/Amberxyuujinn/wellness-app.git >2. in your terminal >git clone https://github.com/Amberxyuujinn/wellness-app.git >3. open the repository folder via VSCode #### Set Up For Running Mobile Simulator ##### Run this comment to get every package you'll need ```diff=1 flutter pub get ``` ##### Choose your simulator If you are using iPhone Device, please have your XCode settled for running simulator. Reference: https://developer.apple.com/documentation/xcode/running-your-app-in-the-simulator-or-on-a-device If you are using Android Device, please install Android Studio for running emulator. Reference: https://developer.android.com/studio/run/emulator ![](https://i.imgur.com/6XMWoZX.png) Once the simulator opened, you can start running the application. Either choose debug mode or without debugging. ![](https://i.imgur.com/RQ3ZRZm.png) ### AWS Account Details Ask Kylie and Steven (userid and password have been given to them) username: oglgroups.sg@gmail.com password: **********