The application needs a folder filled with categories and movies in this pattern:
- main_folder
- name_of_category_folder
- image
- movie_title.png
- video
- movie_title.mp4
- image
- name_of_category_folder
You can change the main_folder path inside index.js at MOVIES_PATH const.
TO RUN IN DEV:
- npm start (to run react server)
- npm run electron-dev
TO RUN IN PRODUCTION:
- npm run build (to build react into static files)
- npm run electron
TO PACKAGE:
- npm run build
- electron-packager project_folder_name app_name (--asar)