Installation and Setup Guide for Vodlix
To get started with Vodlix, follow these steps to install and set up the system:
Extract the Vodlix zip file to the root directory of your server.
Install MongoDB 4.4 and Python 3 on your server. Refer to the
Readme.txtfile in themain directory > processorsfolder for detailed instructions.Create a MySQL database and restore it from the default DB file.
Go to the API folder and run the
composer installcommand.Copy
.env.exampleand rename it as.env.Update the
.envfile with your MySQL and MongoDB details.Run the following command in the API folder:
./vendor/bin/phinx status. If everything is up, you're good to go. Otherwise, run./vendor/bin/phinx migrate.Go back to the main directory.
Go to the
includesfolder and copy thedbconnect.php.samplefile todbconnect.php.Go to the
frontendfolder and run theyarn installcommand.Create
localConfigs.jsfile and add the following code:
export default {
title: "Vodlix",
axios: {
baseURL: "https://www.domain.com/api"
},
env: {
apiUrl: "https://www.domain.com/api"
},
server: {
port: 3000,
host: "127.0.0.1"
}
}Note: Replace domain.com with your domain name and change the port if you want to run on any other port.
Run the
yarn buildcommand in the frontend folder.Once the build is generated, run the following command:
pm2 start yarn --interpreter bash --name "APP NAME" -- startReplace APP NAME with your domain or something else. 14. Go to the main directory > vodlix_player and run the following commands:
npm install && gruntThese steps will help you install and set up Vodlix on your server. If you encounter any issues, refer to the documentation or contact our support team for assistance.
Last updated
Was this helpful?