Setup Essentials
Requirements for 6Valley Installation
Admin & Web (V15.0)
- PHP 8.2 or higher
- MySQL 5.7 or higher
- Laravel 10
Mobile App (V15.0)
- IDE: Android Studio latest
- Flutter SDK (version 3.27.1 Stable)
- Install JDK 17
- Xcode 16.2 for IPA file build
Windows #
Install Android Studio #
- Download Android Studio
- Visit the official Android Studio download page and download Android Studio for Windows.
- Ensure that you download and install JDK 17 on your device.
- Run the Installer
- Run the downloaded installer executable (e.g., android-studio-ide-<version>-windows.exe).
- Follow Installation Wizard
- Follow the instructions in the installation wizard.
- Choose a custom installation location if needed.
- Select the components you want to install (Android Studio, Android Virtual Device, etc.).
- Start Android Studio
- Once the installation is complete, launch Android Studio.
- Install SDK Components
- Android Studio will prompt you to install additional SDK components and tools. Allow it to download and install them.
- Set up Emulator (Optional)
- If you plan to use an emulator, you can create one through the AVD (Android Virtual Device) Manager in Android Studio.
Install Flutter SDK #
- Download Flutter SDK
- Visit the official Flutter download page for the latest version for Windows.
- Extract Flutter Archive
- Extract the downloaded Flutter zip file to a location on your machine. For example, ‘C:\flutter’.
- Add Flutter to System Path:
- Add the flutter\bin directory to your system’s PATH variable.
- Right-click on “This PC” or “Computer” on your desktop or in File Explorer.
- Select “Properties” -> “Advanced system settings” -> “Environment Variables.”
- In the “System variables” section, find and select the “Path” variable, then click “Edit.”
- Click “New” and add the path to the bin directory inside the Flutter directory.
- Add the flutter\bin directory to your system’s PATH variable.
- Verify Flutter Installation
- Open a new Command Prompt and run ‘flutter doctor’ to check for any dependencies that need to be installed or configured.
- Install Flutter Plugins for Android Studio
- Open Android Studio.
- Install the Flutter and Dart plugins through “File” -> “Settings” -> “Plugins” -> “Marketplace.”
- Restart Android Studio
- Restart Android Studio to apply the changes.
Linux #
Install Android Studio #
- Download Android Studio
- Visit the official Android Studio download page and download Android Studio for Linux.
- Ensure that you download and install JDK 17 on your device.
- Extract the Archive
- Open a terminal and navigate to the directory where the archive was downloaded.
- Extract the archive using the following command tar -xvzf android-studio-ide-<version>-linux.tar.gz (replace android-studio-ide-<version>-linux.tar.gz with the actual filename)
- Move to Installation Location
- Move the extracted folder to a location of your choice. For example: sudo mv android-studio /YOUR_DIRECTORY
- Run Android Studio Setup
- Navigate to the bin directory inside the Android Studio folder: cd /YOUR_DIRECTORY/android-studio/bin
- Run ‘./studio.sh’ to start the Android Studio setup
- Follow Installation Wizard
- Follow the instructions in the setup wizard to complete the installation.
- Choose a custom installation location if needed.
Install Flutter SDK: #
- Download Flutter SDK
- Visit the official Flutter download page and download the latest stable version for Linux.
- Extract Flutter Archive
- Open a terminal and navigate to the directory where the archive was downloaded.
- Extract the archive using the following command tar xf flutter_linux_<version>.tar.xz (replace flutter_linux_<version>.tar.xz with the actual filename)
- Move to Installation Location
- Move the extracted folder to a location of your choice. For example: sudo mv flutter /YOUR_DIRECTORY
- Add Flutter to System Path
- Add the flutter/bin directory to your system’s PATH variable.
- Verify Flutter Installation
- Open a new terminal and run: flutter doctor
- Install Flutter Plugins for Android Studio
- Open Android Studio.
- Install the Flutter and Dart plugins through “File” -> “Settings” -> “Plugins” -> “Marketplace.”
- Install Flutter Plugins for Android Studio
- Open Android Studio.
- Install the Flutter and Dart plugins through “File” -> “Settings” -> “Plugins” -> “Marketplace.”
- Restart Android Studio
- Restart Android Studio to apply the changes.
Mac #
Install Android Studio #
- Download Android Studio
- Visit the official Android Studio download page and download Android Studio for macOS.
- Ensure that you download and install JDK 17 on your device.
- Open the DMG file
- Open the downloaded DMG file.
- Drag and drop Android Studio into the “Applications” folder.
- Run Android Studio
- Open the “Applications” folder and launch Android Studio.
- Set up Android Studio
- Complete the Android Studio Setup Wizard.
- Android Studio may prompt you to install additional components and SDKs. Follow the instructions to install them.
Install Flutter SDK #
- Download Flutter SDK
- Visit the official Flutter download page and download the latest stable version for macOS.
- Extract Flutter Archive
- Open a terminal and navigate to the directory where the archive was downloaded.
- Extract the archive using the following command tar xf flutter_macos_<version>.tar.xz (replace flutter_macos_<version>.tar.xz with the actual filename)
- Move to Installation Location
- Move the extracted folder to a location of your choice. For example : sudo mv flutter /YOUR_DIRECTORY
- Add Flutter to System Path
- Add the flutter/bin directory to your system’s PATH variable.
- Verify Flutter Installation
- Open a new terminal and run: flutter doctor
- Install Flutter Plugins for Android Studio
- Open Android Studio.
- Install the Flutter and Dart plugins through “Preferences” -> “Plugins” -> “Marketplace.”
- Restart Android Studio
- Restart Android Studio to apply the changes.