This guide will walk you through cloning this Flutter project and run it in Visual Studio Code.
Before you begin, make sure you have the following installed:
-
Clone the Flutter project from GitHub using the following command: git clone https://github.com/ekbaya/denstu-lms.git
-
Navigate to the cloned project directory: cd <project_directory>
Replace <project_directory>
with the name of the directory created during cloning.
-
Open Visual Studio Code.
-
Open the cloned Flutter project folder in Visual Studio Code:
- Click on "File" in the menu.
- Select "Open Folder...".
- Navigate to the cloned project directory and select it.
- Click "Open".
- Open the terminal in Visual Studio Code:
- Click on "View" in the menu.
- Select "Terminal".
- Choose "New Terminal".
- Run the following command to install project dependencies: flutter pub get
- Once the dependencies are installed, you can run the Flutter application:
- Make sure you have a target device available (e.g., emulator, physical device) or use the VS Code's emulator.
- Open the terminal in Visual Studio Code.
-
Run the following command to start the Flutter application: flutter run
-
Wait for the Flutter application to build and launch on the selected device.
I have included a test APK file app-release.apk in the root directory that you can download and install directly onto your Android device.
- username : admin
- password: secret
Congratulations!