Coder Social home page Coder Social logo

roskus / gflix Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 32.53 MB

Netflix clone site based in Laravel

PHP 86.85% CSS 0.25% JavaScript 0.22% SCSS 0.18% Blade 11.52% Dockerfile 0.49% Procfile 0.02% Shell 0.08% Makefile 0.41%
php movie-catalogue laravel movies

gflix's Introduction

Gflix

Netflix clone Site based in Laravel Screenshoot

Technologies

  • PHP 8.2
  • Laravel 10
  • Twitter bootstrap
  • Postgres
  • OpenAdmin

Setup

Construct docker image

docker build -t gflix .

Run and access to php machine

docker run -p 80:80 -p 443:443 --name gflix -it gflix /bin/bash

For local development

Docker-compose

docker-compose build
docker-compose up -d

Utils

Online Subtitle format converter from .srt -> .vtt https://www.happyscribe.com/subtitle-tools/convert-srt-to-vtt

Covert subtitle with ffmpeg

ffmpeg -i halo_s01e05.srt halo_s01e05.vtt

Convert video format

ffmpeg -i halo_s01e05.avi halo_s01e05.mp4

Extract poster from video frame

ffmpeg -ss 00:04:12 -i wednesday.s01e01.mp4 -vframes 1 -q:v 2 screenshot.png

Fixing video encoding issues

Download HandBrake https://handbrake.fr Important: Check web optimized

Create Self-Signed SSL Certificate

sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout ./etc/ssl/private/gflix.key -out ./etc/ssl/certs/gflix.crt

Admin

Create user

php artisan admin:create-user

Backup a PostgreSQL database

pg_dump -U postgres -d gflix > gflix.sql

Install postgres client

sudo apt-get install postgresql-client

gflix's People

Contributors

gnovaro avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.