Skip to content
Fareez Iqmal edited this page Jul 3, 2023 · 2 revisions

Prerequisites

Please make sure the tools to build the app are ready.

Clone the repository

Clone the project to your local machine. If you are not familiar with git command line, you can use GitHub Desktop.

git clone https://github.com/iqfareez/iium_schedule.git

Run app

This app is ready to run on Android, Web and Windows. For iOS, please see iOS.

First and foremost, run the following command to get the dependencies.

flutter pub get

Then, according to the platform you want to run the app, run the following command.

Platform Command
Android flutter run
Web flutter run -d chrome --web-renderer canvaskit
Windows flutter run -d windows

Note

  • For Web, the web-renderer needs to be explicitly set to canvaskit. Some feature of the app may not working correctly in html renderer. See issue #17.

iOS

I am not targetting iOS platform for now due to resource constraints. If you want to run the app on iOS, you need to add iOS to the project

flutter create . --platforms=ios

If you have successfully run the app on iOS, it would be really helpful if you can make a pull request. So, other people can run the app on iOS too.

Clone this wiki locally