Page MenuHomePhabricator

[backend] Deploy on Toolforge
Closed, ResolvedPublic

Description

The backend will be deployed to Toolforge and consists of the following parts:

  • A flask REST API, deployed as a webservice
  • A python script to periodically sync the db, deployed as a cron job
  • A celery worker, deployed as a continuous job

Docs:
https://wikitech.wikimedia.org/wiki/Help:Toolforge/Web/Python
https://wikitech.wikimedia.org/wiki/Help:Toolforge/Jobs_framework#Creating_scheduled_jobs_(cron_jobs)
https://wikitech.wikimedia.org/wiki/Help:Toolforge/Jobs_framework#Creating_continuous_jobs

The deployment will also be using two backing services:

Event Timeline

I've updated the files, set up the queue, updated the database to take into account the changes, set up the cronjob and finally restarted the app with the production config. It's now pointing to our production db, s55291__toolhunt_db and Toolhub itself.

NicoleLBee claimed this task.

Nope, not done yet. See T334025