mirror of
https://github.com/devfake/flox.git
synced 2024-11-15 06:32:34 +01:00
1.6 KiB
1.6 KiB
###Try Demo
Flox is a self hosted Movie watch list. It's build on top of PHP (Laravel), MySQL and React and uses The Movie Database API.
The current status miss some important features. See Todo.
The rating based on an 5-Point system with 0.5 steps.
Requirements
- PHP 5.5.9+
- Composer
- The Movie Database Account for the API-Key.
Install
Backend
- Download Flox and
cd
intobackend
. - Rename
.env.example
to.env
and fill all your credentials out (your database and TMDb API-Key). - Run
composer install
. - Give
storage
recursive write access. - Run
php artisan key:generate
. - Run
php artisan migrate
. This builds the database schema for Flox. - Since the insertion of new items currently not working, run
php artisan db:seed
for prefabricated items.
Client / Public
- Open the
/public/assets/js/config.js
file and modify them. Theuri
is needed for the react-router. If your app lives in the root folder, change it to/
. The rest should be clear.
Only for development:
- Run
npm install
in yourclient
folder. - Run
gulp watch
orgulp watch --production
and make your work.
Misc
There is a light theme option: Add light-theme
class to body
in /client/views/app.blade.php
.
Todo
- Add movies.
- Login for admin (create movie categories).
- Import lists from imdb and letterboxd.