Video streaming site - ARC 2016.
- Clone the Git repository
npm install
npm install knex -g
npm install bower -g
bower install
- Create an empty MySQL/MariaDB database
- Edit configurations in
config
to match local environment and DB knex migrate:latest
to make DB tablesknex seed:run
to seed DB (optional)npm start
to run
- Copy the movie files (video files and poster image) to
public/series
- Manually insert a record in
series
table for the movie/series (posterPath: path to poster image, beginning with/public/series/
) - Manually insert a record in
episodes
table for each video file (seriesId: the ID of the series/movie for the video, videoPath: path to video file, beginning with/public/series/
)
This project uses Javascript Semi-Standard Style. Use npm lint
to check for compliance.
- Implement search by genre/year
- Add interface for adding more videos