Skip to content

wikimedia/labs-tools-crosswatch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published