In order to use the mobile app, you would need the flood backend running on your local machine. There are several ways you can do that and all these approaches can be found at Flood WIKI The way I set it up was using qBitTorrent as the torrent client and Flood installed using the npm distribution
You can use qBitTorrent,Transmission or rTorrent(anyone) as the torrent client
- Install qBitTorrent
- Start the application, click the settings button and setup the Web UI. You would have to set a new username and password and with everything done,
the qBitTorrent Web UI should be up and running in
http://localhost:8080/
- Install Transmission
- Start the application, click the edit button, select preferences and setup the Remote Control. You would have to set a new port, username and password and with everything done, the transmission app should be up and running in
http://localhost:portnumber/
- Click Open web client button and access the app
- Install Flood using
sudo npm i -g flood
/npm i -g flood
- Run flood using
flood
command. After this, flood should be running onhttp://127.0.0.1:3000
- Configure the torrent client in the flood web ui by entering the url for qBitTorrent web ui and the username and password.
- Clone the repository from GitHub:
git clone https://github.com/CCExtractor/Flood_Mobile.git
- Navigate to project's root directory:
cd Flood_Mobile
- Check for Flutter setup and connected devices:
flutter doctor
- Get the dependancies
flutter pub get
- Initialize localization for multi-language support.
flutter gen-l10n --arb-dir=lib/l10n/arb
- Installing packages (IOS ONLY)
cd ios
pod install --verbose
- Run the app:
flutter run
NOTE: MAKE SURE YOUR PC/LAPTOP SHOULD BE CONNECTED IN SAME NETWORK.
- Run flood with specific host
- Find your network ip
- Run following command:
flood --host your_local_network_ip Example:- flood --host 192.168.0.105
- Open mobile app fill following login credentials.
- URL :- http://your_local_network_ip:3000
- Flood Username
- Flood Password
- Flutter
- VSCode / Android Studio
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Add all files(
git add .
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request in the develop branch