First of all, Thank you so much for purchasing this application and for being our loyal customer.
This documentation is to help you regarding set up.
This project have required following depandency
Laravel Requirements (Server Requirements)
PHP.INI Requirements
File and folder permissions
Flutter/iOS Requirements
Here is the general File structure of the laravel:
Here is the general File structure of the application:
Steps to be follow for getting started with the template:
1 2 3 4 5 | APP_NAME=“your app name” APP_ENV=production APP_KEY=yourkey APP_DEBUG=false APP_URL=yourappurl |
1 2 3 4 5 6 | DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=laravel DB_USERNAME=root DB_PASSWORD= |
1 | php artisan migrate –seed |
1 | php artisan migrate |
1 2 3 4 5 6 | MAIL_MAILER=your mail mailer MAIL_HOST=your mail host MAIL_PORT=your mail port MAIL_USERNAME=your mail id MAIL_PASSWORD=your mail password MAIL_ENCRYPTION=your mail encryption |
1 2 | ONESIGNAL_APP_ID= ONESIGNAL_REST_API_KEY= |
1 | php artisan storage:link |
1 | ln -s /home/your_application/storage/app/public /home/your_application/public/storage |
1 | APP_URL=https://your-website-url.com |
1 | crontab -e |
1 | * * * * * cd /your-project-path && php artisan schedule:run >> /dev/null 2>&1 |
| npm install |
| npm run dev |
Email : admin@admin.com
Password : 12345678
Steps to Set Up the GymLty Web Panel
Choose the GymLty Web Zip File .
Locate and extract the GymLty web zip file to a folder.
Open the Extracted Folder
Navigate to the extracted folder to access the files.
Go to Database
Access the MySQL database configuration panel.
Fill Database Credentials.
Enter your MySQL database name, username, and password.
Click Create Button
Click on the “Create” button to set up the database.
Access phpMyAdmin via Hostinger
Log in to Hostinger and access phpMyAdmin.
Import SQL File
Upload the provided SQL file into your database.
View Database Tables
After importing, all database tables will be displayed.
Access Files in Hostinger
Go to Hostinger, navigate to the File Manager, and access your files.
Delete Default PHP File
In the public_html folder, delete the default PHP file.
Update Application Details in VS Code
Change the app_url to your application URL.
Copy the path from Hostinger and replace it.
Set DB_DATABASE to your MySQL database name.
Set DB_USERNAME to your MySQL username.
Enter the previously used database password. Then save the file
Compress all the saved files to zip format.
Delete the existing public_html and db_file.zip.
Upload the newly compressed zip file to the public_html folder.
Choose the name of the Folder.
Extract Uploaded Zip File
Extract the zip file in public_html.
Move Extracted Files
Select all extracted files, right-click, and move them to a new folder.
Delete Unnecessary Files.
Delete the old GymLty folder and db_file.zip.
Copy your Hostinger URL.
Open it in a new browser tab and add /public/login to the URL.
Access the Admin Panel
The All Time Fitness Web Panel is now ready for use!
1 | export PATH=“$PATH:[PATH_TO_FLUTTER_GIT_DIRECTORY]/flutter/bin” |
1 | echo $PATH |
1 | which flutter |
FlUTTER
Flutter is Google’s UI toolkit for building beautiful, natively compiled applications for Mobile, Web, and Desktop from a single codebase. It is gaining popularity rapidly due to its ease of learning and development efficiency
To develop a Flutter project, you will need the following requirements:
Additionally, having a basic understanding of programming concepts, object-oriented programming (OOP), and the Flutter framework’s architecture will greatly help in developing Flutter projects effectively.
Keep in mind that Flutter is a rapidly evolving framework, so it’s a good practice to stay updated with the latest releases and changes by referring to the official Flutter documentation and community resources.
For detailed installation instructions and troubleshooting, refer to the official Flutter documentation.
Important: Choose Your Platform And Follow Steps To Build And Run Application.
Here are the requirements for mobile configuration in Markdown format:
Firebase provides tools to grow your app and business, offering fully managed backend infrastructure and features for app development. Visit Firebase for more information.
gymlty Fitness Laravel currently supports eight payment gateways. Here Some two examples are given below.
In the main directory, go to open android/app/src/main/AndroidManifest.xml and specify your application name.
IMPORTANT
Android Studio includes a tool called Image Asset Studio that helps you generate your own app icons from material icons, custom images, and text strings. It generates a set of icons at the appropriate resolution for each pixel density that your app supports. Image Asset Studio places the newly generated icons in density-specific folders under the res/ directory in your project. At runtime, Android uses the appropriate resource based on the screen density of the device your app is running on.
Image Asset Studio helps you generate the following icon types:
For More Details You can checkout Android Studio Editor Guide for creating Android Icons.
INFO
Foreground Layer : The foreground layer is the primary part of the icon that contains the main visual elements. It’s the layer that the user selects the source asset for, which can be an image, clip art or text.
Background Layer : The background layer is the area behind the foreground layer. It can be used to add a background color or image element to the icon. If you don’t want green background for laucher Icon then set background layer suitable to your Launcher Icon.
The basic process of this website is –
Change notification icon in Androidmanifest.xml
INFO
Update notification icon name into “lib → utils → push_notification_service.dart” Follow the Steps mentioned in Flutter Configuration
INFO
As part of enabling Google APIs or Firebase services in your Android application, you need to set up Firebase and download the Google JSON file.
Click Here to set up Firebase and download the Google JSON file.
To generate a signed APK (Android Package), follow these steps:
If you choose to use an existing keystore, simply select it.
After selecting your keystore or creating a new one, click Next.
Choose the release mode and proceed with building the APK.
NOTE
If you intend to publish your app on the Google Play Store, you will need the AAB (Android App Bundle) format. To create an AAB, follow the same steps mentioned above, but in step 2, select the AAB option instead of APK.
IMPORTANT
Every Android app has a unique application ID that looks like a Java package name, such as com.example.myapp. This ID uniquely identifies your app on the
device and in the Google Play Store. Once you publish your app, you should never change the Application ID.
IMPORTANT
The version name is a string value that represents the “friendly” version name displayed to the users. The version name is displayed to the user.
IMPORTANT
The version code is an incremental integer value that represents the version of the application code. The version code is used by the Google Play Store for new updates. If you increase the version code, the update will be visible to all users.
IMPORTANT
To change the name of your Android application in Android Studio, you have to change the value of the property android:label defined inside the node in AndroidManifest.xml.
Follow these steps to set up and run your application:
keytool -genkey -v -keystore android/example.jks -alias example -keyalg RSA -keysize 2048 -validity 10000
Here,
The command will generate a JKS file in your android directory. The validity of the keystore certificate is set to 10,000 days. If you don’t add “-validity “, the default value will be 90 days.
Note: If you encounter an error like ‘Command ‘keytool’ not found’, you’ll also receive a suggestion to install keytool. Follow the suggestion and execute the command to install ‘keytool’.
After installing keytool, run the ‘keytool’ command again and complete the process again.
These Keystore File Path,Keystore Password, Key Alias , Alias Password, you’ve to set in keystore.properties file which will be in android directory of project. If it’s not available then just right click on android directory → New → File and name it as ‘key.properties’. Then you can perform steps mentioned here
Wait for a while it will generate your SHA Copy Both SHA1 and SHA256 for variant & config Debug and Release and add to Firebase
Xcode should then open your Flutter project, allowing you to build, run, and modify your iOS app using the Xcode IDE. Please note that before opening your project in Xcode, you need to ensure that you have set up Flutter and the necessary dependencies for iOS development.
By following these steps, you can change the Bundle Name for your iOS target in Xcode.
The Bundle Identifier is a unique identifier of your app on iOS and macOS. It must be unique for your app.
Visit the Website –
The basic process of this website is –
To enable Google SignIn in your app:
To enable SignIn with Apple in your project:
1 | const APP_NAME = "ADD_YOUR_DOMAIN_URL" |
In the main directory, go to lib → utils → app_colors.dart
In main directory goto the lib -> utils -> app_config.dart
1 | const mOneSignalID = ‘CHANGE_ONE_SIGNAL_KEY’; |
In main directory goto the assets folder and repalce the images.
Note: Please do not change any image name
If you don’t have .p12 Certificate then, First Generate .p12 Certificate. Here is guide to Generate iOS Certificate
Welcome to Razorpay! In this guide, you will learn how to sign up for a Razorpay account and obtain API keys necessary for integrating Razorpay into your website or application.
RAZORPAY PAYMENT
Razorpay is the only payments solution in India which allows businesses to accept, process and disburse payments with its product suite.It gives you access to all payment modes including credit card, debit card, netbanking, UPI and popular wallets including JioMoney, Mobikwik, Airtel Money, FreeCharge, Ola Money and PayZapp. Manage your marketplace, automate NEFT/RTGS/IMPS bank transfers, collect recurring payments, share invoices with customers – all from a single platform. Fast forward your business with Razorpay.
Click here For more details about Razorpay payment gateway
If you have an existing Razorpay Developer Account Log in to the account.
Otherwise, Sign up and create a new business account.
NOTE
If you close the TEST MODE switch. Then you will get Live Key Id and Key Secret.
Now you’ve successfully generated keys please navigate to Admin Panel and follow the steps mentioned below
Congratulations! Your Razorpay configuration is done.
Here we have provided some of testing credentials for App –
If you want to add your new payment gateway then buy our paid support for the same.
Use Only in Test Mode
You can use these test cards to make payments in test mode only. Using these for live mode payments will throw card issuer is invalid or invalid card input error.
Test Cards Details for RazorPay payment
There are several test cards you can use in test mode to make sure this integration is ready. Use them with any CVC, postal code, and future expiration date.
Card Number | Expiry Date | CVV | Cardholder Name |
4111 1111 1111 1111 | 12/25 | 123 | Test User |
REMOVE RAZORPAY PAYMENTWe are recommended you to follow only second Step if you don’t know about dependency and code
If you want to remove Razorpay payment gateway option then follow below Steps:
Step 1- Go to pubspec.yaml and remove the ‘razorpay_flutter: LATEST_VERSION’ from the file
razorpay_flutter: LATEST_VERSION
NOTE
If you have to remove dependency from pubspec.yaml then hit the pub get command. now, remove the code related to razorpay_flutter.
Welcome to Stripe! In this guide, you will learn how to sign up for a Stripe account and obtain API keys necessary for integrating Stripe into your website or application.
STRIPE PAYMENT GATEWAY
Stripe is the best software platform for running an internet business.We handle billions of dollars every year for forward-thinking businesses around the world.
Click here For more details about the Stripe payment gateway.
If you have an existing Stripe Developer Account, Log in to the account.
Otherwise, Sign up and create a new business account.
Now you’ve successfully generated keys please navigate to Admin Panel and follow the steps mentioned below
Name | Description |
4242 4242 4242 4242 | Succeeds and immediately processes the payment. |
4000 0025 0000 3155 | Requires authentication. Stripe will trigger a modal asking for the customer to authenticate. |
4000 0000 0000 9995 | Always fails with a decline code of insufficient_funds. |
Remove Payment
Download the SDK and point the SDK folder path in your future projects.
There are different sources you can try
If you encounter error given below
Before start please check your iOS deployment target in Xcode.
Step 1 – In Mac check flutter version in your global terminal and in Android studio’s terminal.
If not same then set Flutter SDK path for Global environment –
Setting up Flutter SDK Path Globally on macOS
flutter doctor –vSetting up Flutter SDK Path in Android Studio on macOS
Follow these steps to set up the Flutter SDK path in Android Studio on macOS:
After completing these steps, Android Studio will be configured to use the Flutter SDK from the specified path. This will enable you to create, edit, and run Flutter projects seamlessly within Android Studio on macOS.
Step 2 – run this command in terminal
flutter clean; rm -rf Runner.xcworkspace; rm Podfile.lock; flutter pub get; pod install if still issue is not fixed then move to the next step
If still issue is not fixed then move to the Step 3
Step 3 – Get the new Flutter SDK from the link below and replace it with you SDK.
If you the error like shown below while uploading app to Store follow the mentioned step in image.
Solution : Follow the steps shown in Image.
If you encounter the “Unsupported Gradle Version” error with a version number like 3.., you can follow these steps to resolve it:
By following these steps, you should be able to resolve the “Unsupported Gradle Version” error and run your application successfully
If you continue to experience issues or encounter any other errors, make sure to check for updates to your Gradle version and ensure that it is compatible with your project requirements. Additionally, consult the official documentation or seek support from the Android Studio community for further assistance.
When you get an error while run php artisan storage:link, please follow the below steps:
Second way, just fire this command
ln -s /home/your_application/storage/app/public /home/your_application/public/storage
Special Notes
As per envato policy installation, setup and configurations or modification are not included in free support. Free support is only for any bug/ error in original code. we do not provide installation and customization support in FREE SUPPORT.
Still, We are providing steps for How to update future release code to existing source code for your knowledge purpose.
PLEASE DO NOT CREATE TICKETS IF YOU FACE ANY ISSUE DURING UPDATE YOUR CODE. WE WILL NOT PROVIDE ANY SUPPORT ON THAT.
If you want which file changes are on the latest updated version then you have to manage the git repository by yourself.
For First time: Initial project downloaded from codecanyon server.
Step 1: Create or login with gitlab
Login or register your account with gitlab: https://gitlab.com/users/sign_in
Step 2: Create a new project in GitLab
Step 3: Clone your project to your local system
Step 4: Download project from codecanyon server Step 5: Copy/paste your initial downloaded project to clone directories.
Once successfully downloaded project from codecanyon, copy/paste your downloaded project into clone directories
Step 6: Commit and push to gitlab server
Onces copy/paste your changes to clone directres, you have to push all files to your gitlab server. For that use the following commands.
Before commit to server directores, you have to remove below folder from your project
After That follow below steps
Note
If you remove the project from the local system then clone the project again from your gitlab server. Follow the same above Step 3: Clone your project to your local system
Step 1: Download the latest version from codecanyon server.
Once you will received mail for updates. Just download latest code from codecanyon server.
Step 2: Copy/paste your initial downloaded project to clone directories.
Once successfully downloaded project from codecanyon, copy/paste your downloaded project into clone directories
Note
Only orignal source code is put here.
Step 3: Commit and push to gitlab server
Follow same Step 6: Commit and push to gitlab server
Step 4: Check updated files
After committing your latest changes. Goto the gitlab project dashboard and click on the commit link.
Click on link which you have commit message on above steps 3
Now check the all changed file.
Click on “XYZ changed file” to see which file has been changed.
We like to hear you out when you get stuck or encounter difficulty with our products. As soon as you buy one of our products – you can open a support ticket and share your concern right away.
Submit support ticket: https://support.meetgymlty.com/
Support Policy:
It is recommended that before submitting a ticket you take a close look at product documentation technical support and assistance, you need to have a valid purchase code. You will find this when you SignIn your Codecanyon “Download” page. Click on the product’s download link.
Free support policy includes troubleshooting, technical assistance with the product only. It does not include any customization, additional features integration or concerns about third-party plugins compatibility. But, support is applied to plugin(s) we have developed and integrated ourselves. We appreciate your understanding!
If you need assistance and information on purchased product that is not covered in documentation, post them on our support portal at https://support.meetgymlty.com/ You can expect answer within 24-48 hours, usually as soon as possible in the order they were received.
Additionally, if any support ticket has no response from the item owner for more than 7 days, that support ticket will be closed by default. However, if you need further assistance, you can create a new ticket.
All support requests are being processed on business days (Monday to Saturday) from 9:00 to 18:00 (GMT +05.30). We are in GMT+5:30 time zone. We address all the support queries 6 days weekly on the first-come, first-solve basis (Sundays off).
Do you have any pre-sales questions or concerns, please write to us via our website contact page or email us at app.meetgymlty@gmail.com. We like getting positive feedback from our customers, and this is why we do our best to earn it! Write a review: https://codecanyon.net/downloads
Please follow one of the following methods to resolve the issue:
K8,HIG-329 ,Kalinga nagar, infront of dream India junior school,
Bhubaneswar, odisha, 751003
+91 9078941471
contact@gymlty.com
© 2024 Gymlty. Powered by NEARBYBRAND PRIVATE LIMITED.