Skip to content
Online cinema
PHP TypeScript HTML CSS JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
assets
config
public
templates
.editorconfig
.env.example
.gitattributes
.gitignore
LICENSE
README.md
composer.json
composer.lock
package-lock.json
package.json
tsconfig.json

README.md

2watch

Online-cinema prototype.

Allows users to watch YouTube videos synchronously.

Inspired by CyTube.

Installation

Prerequisites:

  • PHP 7.1+;
  • Redis.
# Copy .env.example into the .env
cp .env.example .env

# Install backend dependencies
composer install -o

# Install frontend dependencies
npm i

# Build frontend
npm run build

Development

Build frontend in development mode:

npm run dev

Run internal PHP server on the port 8000:

php -S localhost:8000 -t public
You can’t perform that action at this time.