easyPKU, a mobile application specifically designed for UTM students. This app aims to upgrade the appointment process at PKU, providing an efficient and user-friendly platform that meets the unique needs of its users.
This installation process is designed for Windows operating systems.
- Download and install VS Code.
- Configure VS Code for Flutter:
- Open VS Code and navigate to the Extensions Marketplace.
- Search for and install the Flutter extension.
- Download the Flutter SDK based on your system.
- Extract the downloaded archive to a directory.
- Add the
bin
directory of the Flutter SDK to your system'sPATH
environment variable:- Go to System Properties > Environment Variables > Path > Edit > Add the Flutter SDK path
- Open a terminal and run the following command:
flutter doctor
-
Install Android Studio:
- Download and install Android Studio.
- Ensure Android SDK, Android Virtual Device (AVD), and required tools are selected.
-
Configure AVD (Android Emulator):
- Open Android Studio and go to Tools > AVD Manager.
- Create a new virtual device:
- Select a hardware profile (e.g., Medium Phone).
- Choose a system image (VanillaIceCream, API 35).
-
Install Java Development Kit (JDK):
- Install the JDK if not already present. Download JDK 17.0.13.
- Set
JAVA_HOME
:- Identify the JDK installation path (e.g.,
C:\Program Files\Java\jdk-17.0.13
). - Add it to your system's environment variables:
- Open System Properties > Environment Variables.
- Under System Variables, click New and set:
- Variable Name:
JAVA_HOME
- Variable Value:
<JDK Installation Path>
- Variable Name:
- Identify the JDK installation path (e.g.,
-
Verify Android Setup:
- Run:
flutter doctor
- Run:
-
Open a terminal.
-
Navigate to the directory where you want to clone the repository.
-
Run:
git clone https://github.com/NickolasChen04/easyPKU.git cd easyPKU
-
Launch Visual Studio Code.
-
Open the cloned project directory.
Join the Google Pay Developer Group to access test cards.
In VS Code, open the terminal (`Ctrl + ``).
- Run:
flutter pub get
-
In VS Code, press Ctrl + Shift + P to open the Command Palette.
-
Type Flutter: Launch Emulator and select it.
-
Choose the Medium Phone API 35 emulator from the list.
In VS Code, open the terminal (`Ctrl + ``).
- Run:
flutter run