Task #2434
Update the web-server
Start date:
12/24/2019
Due date:
% Done:
100%
Subtasks
History
#1 Updated by Luke Murphey over 5 years ago
I can update the Perseus docs with this:
UPDATE reader_worksource SET source = 'perseus.tufts.edu', description='Text provided by Perseus Digital Library, with funding from The Annenberg CPB/Project. Original version available for viewing and download at http://www.perseus.tufts.edu/hopper/.' WHERE work_id <> 699 AND work_id <> 700;
And the Biola ones with this:
UPDATE reader_worksource SET source = 'unbound.biola.edu', description='Text provided by The Unbound Bible from Biola University. Original version available for viewing and download at http://www.unboundbible.org/.' WHERE work_id = 699 OR work_id = 700;
#2 Updated by Luke Murphey over 5 years ago
Import works per: https://lukemurphey.net/issues/2419
#3 Updated by Luke Murphey over 5 years ago
from reader.models import Work, WorkSource, WorkAlias import os def makesource(work): work_source = WorkSource() work_source.source = "unbound.biola.edu" work_source.resource = '' work_source.work = work work_source.description = "Text provided by The Unbound Bible from Biola University. Original version available for viewing and download at http://www.unboundbible.org/." work_source.save() lxx = WorkAlias.objects.get(title_slug='lxx') makesource(lxx.work) asv = WorkAlias.objects.get(title_slug='asv') makesource(asv.work)
#4 Updated by Luke Murphey over 5 years ago
Should probably download the main database and update it offline.
#5 Updated by Luke Murphey over 5 years ago
- Tracker changed from Bug to Task
#6 Updated by Luke Murphey over 5 years ago
Steps:
- [Done] Upload databases
- [Done] Install portainer
- [Done] Create new app directory
- [Done] Copy indexes
- [Done] Copy cache
- [Deferred] Copy statics
- [Done] Copy files
- [Done] Deploy new upgrade script
- [Done] Start app
- [Done] Redirect port to new app
- Stop existing app
- Remove old init script
#7 Updated by Luke Murphey over 5 years ago
#8 Updated by Luke Murphey almost 5 years ago
- Status changed from New to Closed