Server

Connect To Server

The hosting requirement of the server for the application is a VPS with 4GB memory (Only Ridy installed without other websites on the server). Once you have purchased the server you can connect to your VPS's Terminal interface using credentials provided by your hosting provider. It is usually a server address and the root user's password.

Installation

The deployment solution for the server side is Docker. Once docker is installed on your server you can run the server side of the application downloaded and installed on your server with one single line of command.

Install Docker

To install Docker & Docker Compose you can rely on documentation Docker provides based on your server's Operating system:

Run backend

Now that you have the Docker installed go to the server's root folder (cd /root command) you can install Ridy's server-side using the below command:
wget -qO- https://uploads.ridy.io/docker-compose-flutter.yaml > docker-compose.yaml && docker compose up -d
After a few seconds docker starts up all services required and you should be able to access the dashboard from your IP Address and port 4003.

Configuration

You can access the dashboard on your server from port 4003. (eg. http://x.x.x.x:4003/)
In case the server doesn't respond to port 4003 (Which can't be opened in the browser), The reason could be the server's firewall. To fix this refer to FAQ.
The first time the dashboard is opened it presents with the Configuration wizard. Below are the details of the steps explained:

Wizard

Purchase Code

Upon making the purchase from Codecanyon you have received a purchase code titled "Purchase Confirmation" in your email. You will have to enter the code here so your purchase would be verified.

Google Maps API Key

This API key is to be retrieved from the Google Developers console. For the server API key Distance Matrix API API is required and for the dashboard key Google Maps Javascript SDK & Static Maps API are required.
Make sure the billing account is enabled on the project these keys have been retrieved from. This is very important for the app to function correctly.

Firebase Admin SDK

On the firebase project go to the Project Settings and under Service Accounts use Generate Private Key button to retrieve the private key. Upload this JSON file on the upload panel presented to you.
With Firebase project private key being uploaded go back to your server's terminal and enter the below command:
With Firebase project private key being uploaded go back to your server's terminal and enter the below command:
docker compose down
docker compose up -d
Now you can open the admin panel address in the browser and instead of configuration, the login page will appear. You can log in with default admin/admin username & password.