Tools for the Wikimedia Support and Safety team related to content takedown
- Copy the
.env.distfile to.envand customize however you would like. - To login to the app, you will need to obtain OAuth Keys by registering an OAuth Consumer (not an owner-ownly as it will need a callback url). With at least the following permissions:
- Execute
docker-compose up - After the database has started and ready to accept connections, open another terminal
- Execute
docker-compose exec api key-createto create the JWT key. - Execute
docker-compose exec api db-setupto create the database schema and load the fixtures.
Once the app has been setup, you can start the app by executing (if you haven't already done so in step 3):
docker-compose up
- Connect to Wikimedia Foundation's Virtual Private Network.
- SSH into the production server:
ssh lcatools.corp.wikimedia.org - Switch to the
lcatoolsuser:sudo su - lcatools - Change into the
takedowntoolsdirectory:cd sites/takedowntools - Pull the changes:
git pull origin master - Build the container(s)
docker-compose build - Start the new containers:
docker-compose up -d