Introduction

  • Thank you for choosing the Mova app. We are pleased to have you with us. Enclosed is the documentation to help you set up and launch the app easily. Please read it carefully, as it contains important information. If you need any assistance or have questions, our support team is just a message away.

Import Content from TMDB

  • Visit theTMDB Consolecreate an account
  • After logging in, navigate to the settings section
  • In the settings section, you will find your API Key and API Access Token
  • Please copy and securely store your API Key and API Access Token
  • Now you can access the TMDB Import function in your admin panel
  • TMDB may not be accessible in certain countries. To resolve this issue, please download and use VPN software, as browser extensions alone may not be sufficient.

Create DigitalOcean Account

  • Create your VPS Server on Digital Ocean and receive $200 in credits for 2 monthsClick Here
  • DigitalOcean Referral Badge

Server Setup

Step 1 : Create Droplet in Control Panel

  • Please click on the "Create" button located in the top right corner to open the create menu.

Step 2 : Choose Region

  • In the "Choose Region" section, please select the region where you would like to create your Droplet.

Step 3 : Choose an image

  • In the "Choose an image" section, you can select the image you wish to use for your Droplet.
  • Please ensure that you select the Ubuntu operating system with version 22.04 for your Droplet.

Step 4 : Choose Size

  • In the "Choose Size" section, you can determine the amount of RAM, storage space, and CPU cores for your Droplet.

Step 5 : Enable Backups

  • You have the option to enable "Automatic Backups" for the Droplet, which will incur an additional cost based on the frequency of the backups.

Step 6 : Choose Authentication Method

  • In the "Choose Authentication Method" section, select the preferred method for logging in to your Droplet.

Step 7 : Recommended and Advanced Options

  • In the "We recommend these options" section, you have the opportunity to enable various optional services that enhance the functionality of your Droplet.
  • Additional options are accessible by expanding the "+Advanced Options" section.

Step 8 : Finalize Details

  • In the "Finalize Details" section, you can specify the quantity, name, tags, and project for the Droplet you are creating.
  • After selecting your options, please click on "Create Droplet". A progress bar will then indicate the status of your Droplet's readiness.
  • Once the Droplet setup is complete, its IP address will be displayed in the control panel.
  • Once you have obtained the IP address, you can establish a connection to your Droplet using SSH.

Create Spaces Bucket

Step 1 : How to create Spaces Bucket on Digital Ocean

  • Here is a quick step-by-step guide on how do you create an Spaces Bucket on Digital Ocean and get the credentials to access it. Please consider the official documentation created by Digital Ocean itself for the latest changes and updates.
  • Official Documentation by Digital Ocean to create Spaces Bucket Click Here
  • Sign in to the Digital Ocean at https://cloud.digitalocean.com/login
  • After that you can see your console where you can see and explore your Digital Ocean services.
  • Go to Spaces and Now click on the Create a Space Bucket button at the bottom as seen in the below image, and that will lead you to create the space bucket on digital ocean.
firebase_1
  • For the 1st square, select the region which is the most nearest to you based on your market and your location
  • For the 2nd square 1st place (as seen in the No.2 red square), enter the name you want to keep for the bucket
  • For the 3rd square, please select your project as seen in the image
firebase_1
  • Now Click on the Create a spaces bucket button and finally create your spaces bucket on digital ocean ( Check in the image below )
firebase_1
  • After that it will lead you to the page where you can see all of your created bucket with the green notification on the top like below, it means that bucket has been created successfully.
  • Now, our bucket is ready to use. But to use it we will need some credentials from digital ocean.
    • Origin Endpoint
    • AWS_ACCESS_KEY_ID
    • AWS_SECRET_ACCESS_KEY
  • Please follow the steps below to get the credentials listed above.

Step 2 : How to get "hostName" from Digital Ocean

  • To Get "hostName" remove the bucket name from "Origin Endpoint" simplyClick Here
    • In the given example URL, "https://testproject.test1.digitaloceanspaces.com" The first one "testproject" represents the bucket name After removing the bucket name, the remaining URL is the host name: "https://test1.digitaloceanspaces.com".

Step 3 : How to get "Origin Endpoint" from Digital Ocean

  • Now, Go to spaces and once you have created your bucket, click on the bucket you have created and then on that page go to the “Origin Endpoint” copy from it as shown in the image below
firebase_1

Step 4 : How to get "AWS_ACCESS_KEY_ID" and "AWS_SECRET_ACCESS_KEY" from Digital Ocean

  • Log in to your digital ocean if you are not logged in, go to API on the bottom click on it as shown in the image below and On that page Go to Spaces Keys and there click on Generate New Key button
firebase_1
  • As soon as you click on that button, Enter your bucket name for create your security credentials as shown in the image below
firebase_1
  • As soon as, your security credentials will be created and one pop-up will come up. Copy from that Access Key and and Access Key id then it will show you the credentials as shown in the image below
firebase_1
  • So we have found the credentials to access our spaces bucket on digital ocean

Step 5 : How to get your Region and Bucket Name

  • Now, you will need 2 more things for the bucket to be accessed and put files in it.
    • Region on which bucket is created
    • Bucket Name
  • These things can be found in the bucket lists, by going to Spaces. As shown in the image below.
firebase_1
  • The first one is the bucket name and the 2nd one is the region
  • While collecting the Region, mind well. Only Copy the thing covered in the red box. see example below
  • There is written “nyc3” in my case. You will copy only “nyc3” as region

How To Get Secret Key

  • To enhance the security of our code, we should generate a strong secret key using a reliable source likehttps://randomkeygen.com/.

How To Get JWT Secret Key

  • To enhance the security of our code, we should generate a strong secret key using a reliable source likehttps://randomkeygen.com/.
  • The JWT Secret Key should be a randomly generated key for instance, "kY4fai9sUT" is an example of such a JWT Secret Key. This key is essential for securing and validating JSON Web Tokens (JWTs) within our application.

Extract The Project

  • Connect to the server via SSH using tools like WinSCP for file transfer and PuTTY for command line access.
  • Please transfer the admin zip file to the home directory of your server.
  • First, install the library using the following command:
  • apt install unzip
  • After navigating to the home directory path, use the following command to unzip the admin zip file:
  • cd /home
    unzip admin.zip -d /home
    clear

Admin Panel Setup

  • After navigating to the root path, use the following command:
  • cd /
  • How to upload and paste the 'install.sh' file using WinSCP, as shown in the image below.
  • After creating the install.sh file, it should be displayed as follow.
  • After, Copy the text from the install.sh file provided by us.
  • After copying the text from the install.sh file, paste it into the server's install.sh file.
  • Then, run the install.sh file using the following command:
  • sudo apt install dos2unix
    chmod +x install.sh
    ./install.sh
  • Upon successful execution of the install.sh file, you will receive the following information:

Import MongoDb files

Step 1 : Download MongoDB Compass

Step 2 : Open MongoDB Compass

  • Open MongoDB Compass after installation.

Step 3 : Connect MongoDB Database

  • After successfully executing the install.sh file, you will receive the MongoDB connection string. Please copy it for further use.
  • Click on "New Connection" to set up a new connection to your MongoDB server.
  • Enter the MongoDB connection string provided by your hosting provider.
  • Click "Connect" to establish the connection to your MongoDB database.

Step 4 : Navigate to Database

  • Once connected, MongoDB Compass will display your databases. Select the your database where you want to import the JSON files.

Step 5 : Import JSON Files

  • Click on the your database name to expand and view its collections.
  • Select the collection where you want to import the JSON files.
  • Click on the "Collection" tab and then click on the "Add Data" button.
  • Choose "Import JSON or CSV File" from the dropdown menu.
  • Navigate to the folder where your JSON files are located in the extracted folder.
  • Select the JSON files you want to import.
  • Click "Import" to start importing the JSON files into your MongoDB database.
  • You need to import the collections advertisements, countrylivetvs, faqs, flags, genres, regions, settings into your database.

Admin Panel Sign-Up

  • Please note that the admin must sign up first, as shown in the image below.

Step 1 : Email

  • Enter your email address.

Step 2 : Password

  • Create a secure password.

Step 3 : Confirm Password

  • Verify the password.

Step 4 : Purchase Code

  • Enter a unique code for registration security.
  • Click here to get your purcahsed code from codecanyon.

Want to talk with us?

Email : [email protected]

Whatsapp : +91 9909515320