Coder Social home page Coder Social logo

wikimedia / labs-tools-video-cut-tool-back-end Goto Github PK

View Code? Open in Web Editor NEW
0.0 21.0 0.0 2.17 MB

GitHub mirror of the labs/tools/video-cut-tool-back-end repository. Development happens at https://gerrit.wikimedia.org. Please see https://www.mediawiki.org/wiki/Developer_account if you wish to contribute.

Home Page: https://gerrit.wikimedia.org

License: Other

JavaScript 91.87% Shell 4.61% EJS 3.00% Pug 0.52%

labs-tools-video-cut-tool-back-end's Introduction

Learn More

You can learn more in the https://commons.wikimedia.org/wiki/Commons:VideoCutTool.

In the project directory, you can run:

Request OAuth keys

You need to request Mediawiki OAuth keys from https://meta.wikimedia.org/wiki/Special:OAuthConsumerRegistration/propose.

  1. Dont forget to turn on these following items under Applicable grants:

    1. Edit existing pages.
    2. Create, edit, and move pages.
    3. Upload new files.
    4. Upload, replace, and move files.
  2. Call back URL as 'https://localhost:4000/video-cut-tool-back-end/auth/mediawiki/callback'

After submitting form, you will be given config.consumer_key and config.consumer_secret substitue these keys in your config.js file.

Installation

In the project directory, you can run:

npm install

Installs the required dependencies for VideoCutTool

npm start

Runs the app in the development mode.
Open http://localhost:4000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

Production

If running on production, you need to ensure that monitor.sh and bin/monitor.sh have +x permissions, otherwise they will cause an error like "not an executable file".

You can do this by running the commands chmod +x monitor.sh and chmod +x bin/monitor.sh.

After this, you can use ./monitor.sh (not the one in the /bin directory) to schedule a job to check if the site is active and running, and restart it if it isn't.

Credits

VideoCutTool is created and mostly written by Gopa Vasanth.

This tool is built in the 2019 Google Summer of Code in the mentorship of Pratik shetty, Hassan Amin and James Heilman.

labs-tools-video-cut-tool-back-end's People

Contributors

abdul-alhasany avatar abhishekbvs avatar gopavasanth avatar hassanamin994 avatar jayprakash-se avatar kizule avatar marcoaureliowm avatar nixerus avatar shcherbadev avatar ssd71 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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.