_ _ _ _ _
(_)_ ____ _| |_ ___| |__ ___ _ __ | (_)_ __ ___
| \ \ /\ / / _` | __/ __| '_ \ / _ \| '_ \| | | '_ \ / _ \
| |\ V V / (_| | || (__| | | | (_) | | | | | | | | | __/
|_| \_/\_/ \__,_|\__\___|_| |_|\___/|_| |_|_|_|_| |_|\___|
iWatchOline is a multi-purpose movie and TV series platform.
Tool | Version |
---|---|
PHP | 8.1 |
Laravel | 10.0 |
Composer | 2.6.5 |
Node.js | 21.2.0 |
MySQL | 8.1.0 |
-
Add the following entries into your
/etc/hosts
fileecho "127.0.0.1 iwatchonline.test" >> /etc/hosts
-
Create a database named
mtdb
in your local.CREATE DATABASE mtdb;
-
Clone our repository inside your iwatchonline folder
~/iwatchonline/
cd ~/iwatchonline/
git clone git@github.com:Rango-dz/public.git
-
Connect to
php81
container where the project is hostedcd ~/iwatchonline/public
-
Initiate
.env
file and change db connection configcp env.example .env
-
Install the dependencies
composer install
-
Migrate the tables
php artisan migrate
-
Seed the database
php artisan db:seed
php artisan common:seed
-
Generate checksums
php artisan checksums:generate
-
Install npm dependencies
npm install
-
Run SSR server
npm run ssr