denshoproject / encyc-front

front-end interface for the encyclopedia
Other
1 stars 0 forks source link

MW edits not syncing in production ES instance #44

Closed GeoffFroh closed 9 years ago

GeoffFroh commented 9 years ago

Content edits made in the editors' mediawiki are not appearing in the live site. Maybe related to the cron schedule of the script that pushes updates into the production ES instance. Or perhaps the script's detection of article updates.

gjost commented 9 years ago

I'll log in and do a sync in just a bit. Once that's done I'll set up the cron job. I need to research how to set up a cron task in a Makefile so the setup can be automated, so it'll take a bit longer than just doing it by hand.​

gjost commented 9 years ago

FYI, here's how to do a manual update:

# ssh USER@tank.densho.org
# ssh USER@cosmo
USER@cosmo $ sudo su encyc
encyc@cosmo $ python manage.py encyc --topics --authors --articles
gjost commented 9 years ago

Added the job to cron on the server. Adding a cron job automatically via a Makefile looks complicated, so I added manual setup instructions to make howto-install.