Running GIRAF¶
Preliminaries¶
- Clone both
https://github.com:aau-giraf/weekplanner.git
andhttps://github.com:aau-giraf/web-api.git
as mentioned in "Environment Setup"
Step 1. Running the Web-API¶
- Open
appsettings.Development.json
in the clonedweb-api/GirafAPI
directory from earlier and changepassword
to what you selected when installing MariaDB - Navigate to the cloned
web-api
directory from earlier, either in Terminal (macOS/Linux) or PowerShell (Windows), and run: dotnet restore
dotnet-ef database update
dotnet run --sample-data
Step 2. iOS Simulator¶
- Open Simulator app (CMD + Space to search for it)
- Navigate to the
weekplanner
directory, that you cloned - Run
cp .env.example .env
in your Terminal - Run
flutter pub get
in your Terminal - Run
flutter run
in your Terminal
Step 2. Android Simulator¶
- Open the
weekplanner
directory that you cloned - Copy
.env.example
, and rename the copy to.env
- Open Android Studio
- Select the pre-installed Android emulator near the top-right corner, or create a new device in Tools > Device Manager
- Select the
main.dart
runtime and press Run
Last update: September 3, 2024