GitXplorerGitXplorer
c

video.cs50.net

public
13 stars
6 forks
9 issues

Commits

List of commits on branch master.
Verified
465fbd6494dd737364b6fbc53f80db4b3350c19d

Merge pull request #155 from cs50/dependabot/npm_and_yarn/cached-path-relative-1.0.2

committed 5 years ago
Verified
03e4b89a3e506f4ca88a30aa192351da688f4add

Bump cached-path-relative from 1.0.0 to 1.0.2

ddependabot[bot] committed 5 years ago
Verified
74ab6c6b776019a6904c3522000e7cb70f803927

Merge pull request #151 from cs50/dependabot/npm_and_yarn/is-my-json-valid-2.20.0

committed 5 years ago
Verified
373e2c01bdf17abc4c2d2cd99e4b78652cd29e11

Merge pull request #149 from cs50/dependabot/npm_and_yarn/sshpk-1.16.1

committed 5 years ago
Verified
3417e33b0ad3d6aa47411d1198903d2eccea9816

Merge pull request #150 from cs50/dependabot/npm_and_yarn/stringstream-0.0.6

committed 5 years ago
Verified
f24ae0e67464264957f1fb0720d21ea933fe59f2

Bump is-my-json-valid from 2.15.0 to 2.20.0

ddependabot[bot] committed 5 years ago

README

The README file for this repository.

Player50

Build Status

A web app that intends to enhance the watching experience of the CS50 video archive. Predominantly revolves around the YouTube API, with some additional functionality such as supported chaptering and video search.

Installation

The app takes advantage of nodejs, npm and npm scripts to build/run. To be able to perform these operations you are going to need the latest version of node installed on your machine. You can accomplish this in the following ways:

  • Download and run the pre-built installer from their website
https://nodejs.org/en/download/
  • OR Download and install from the CLI using a package manager
https://nodejs.org/en/download/package-manager/

If you already have node installed then please make sure you are using at least the latest stable version ^4.x.x or more ideally ^6.x.x. You can check which version you have installed by running the command node -v.

Once you have the latest version of node installed you will need to clone this repo to your machine:

git clone git@github.com:cs50/player50.git

After cloning you need to navigate to the project folder and run the following command:

npm i && npm run build

Usage

If the installation process outlined above ran with no errors, then you are ready to start serving or developing the app! The following npm script commands will enable you get started:

  • To generate a static build, that is, to compile the source code into distributed code.
npm run build
  • To serve the app, that is, to make available the latest build on localhost.
npm run serve
  • To develop the app, that is, to rebuild project and live reload localhost on source code change.
npm run dev

It is worth noting the languages and technologies used throughout the project:

  • JS strictly in ES6, bundled using browserify and transpiled using babel.
  • HTML abiding the latest HTML5 specification and encouraged use of custom tags.
  • CSS using the SCSS syntax that gets compiled and enhanced by autoprefixer.

Linting is enforced using eslint which inherits the airbnb-base config.

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request

History

TODO: Write history

Credits

TODO: Write credits

License

TODO: Write license