Project

General

Profile

Task #2434

Update the web-server

Added by Luke Murphey almost 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
12/24/2019
Due date:
% Done:

100%


Subtasks

Task #2549: Get docker-based server onlineClosedLuke Murphey

Task #2550: Shutdown native serverClosedLuke Murphey

Task #2552: Update static resourcesClosedLuke Murphey

Task #2553: Point to new location of static resourcesClosedLuke Murphey

Task #2560: Add static resources to mediaClosedLuke Murphey

Task #2554: Verify error pages are pointing to the correct sourcesClosedLuke Murphey

Task #2555: Update search indexes for new worksClosedLuke Murphey

Bug #2558: admin page doesn't show upClosedLuke Murphey

History

#1 Updated by Luke Murphey almost 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;

#3 Updated by Luke Murphey almost 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 4 years ago

Should probably download the main database and update it offline.

#5 Updated by Luke Murphey over 4 years ago

  • Tracker changed from Bug to Task

#6 Updated by Luke Murphey over 4 years ago

Steps:
  1. [Done] Upload databases
  2. [Done] Install portainer
  3. [Done] Create new app directory
    1. [Done] Copy indexes
    2. [Done] Copy cache
    3. [Deferred] Copy statics
    4. [Done] Copy files
  4. [Done] Deploy new upgrade script
  5. [Done] Start app
  6. [Done] Redirect port to new app
  7. Stop existing app
  8. Remove old init script

#8 Updated by Luke Murphey over 4 years ago

  • Status changed from New to Closed

Also available in: Atom PDF