GithubHelp home page GithubHelp logo

wikimedia / labs-tools-crosswatch Goto Github PK

View Code? Open in Web Editor NEW
5.0 15.0 0.0 4.99 MB

Github mirror of "labs/tools/crosswatch" - our actual code is hosted with Gerrit (please see https://www.mediawiki.org/wiki/Developer_access for contributing

License: ISC License

Python 28.07% JavaScript 39.84% CSS 7.36% HTML 24.05% Shell 0.67%

labs-tools-crosswatch's Introduction

crosswatch

Crosswatch is an enhanced cross-wiki watchlist for Wikimedia projects running at tools.wmflabs.org/crosswatch.

It uses a Python based backend and a AngularJS based frontend.

git clone https://phabricator.wikimedia.org/diffusion/TCRW/labs-tools-crosswatch.git
cd crosswatch

##Frontend Install the local dependencies

sudo npm install -g gulp bower
cd frontend
npm install
bower install --production

While developing use gulp serve to preview changes and gulp build to build the application to frontend/dist for deployment.

##Backend First change config.py to use your credentials.

cd backend
cp config.py.sample config.py

Then create a virtualenv and run

cd ..
python setup.py install

Start the Tornado webserver on $PORT with

python -m backend $PORT

and the a celery worker:

celery -A backend worker -l info

There are some helpful scripts if the tool runs on Tool Labs in the scripts directory. Change the name of the tool in frontend/gulpfile.js and backend/config.py and the scripts files.

Testing

Invoke tox. We rely on flake8 to enforce python style.

#License Licensed under ISC

labs-tools-crosswatch's People

Contributors

hashar avatar he7d3r avatar maxsem avatar paladox avatar sitic avatar translatewiki avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 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.