Installation and Setup

Following steps should be followed to install the Vodlix system.
1. Extract the Vodlix zip file to the root directory. 2. Install MongoDb 4.4 and python3 on your server and follow this file main directory > processors > Readme.txt3. Create Mysql Db and restore it from the default DB file. 4. Goto API folder and run the "composer install" command. 5. Copy .env.example with .env file 6. Add Mysql Db and MongoDb details to the .env file 7. Run the below commands to API folder " ./vendor/bin/phinx status" #if everything in up then ok if not run below command"./vendor/bin/phinx migrate"8. Go back to the main directory. 9. Goto includes folder and copy dbconnect.php.sample file to dbconnect.php 10. Goto frontenf folder and run "yarn install" command 11. Create localConfigs.js file and ad below code export default { title: "Vodlix", axios: { baseURL: "https://domain.com/api" }, env: { apiUrl: "https://domain.com/api" }, server: { port: 3000, host: "" } }Note: Replace domain.com with your domain name and change the port if you want to run on any other port.12. Now run the "yarn build" command in the frontend folder. 13. Once the build generated run the below command. pm2 start yarn --interpreter bash --name "APP NAME" -- start replace APP NAME with your domain or something else. 14. Goto main directory > vodlix_player and run below commands npm install && grunt