Princeton-CDH / derrida-django

Derrida's Margins - Python/Django web application
https://derridas-margins.princeton.edu
Apache License 2.0
8 stars 1 forks source link

create playbook to install dependencies and create a web archive for a site #284

Closed rlskoeser closed 3 years ago

rlskoeser commented 3 years ago

questions:

revisions needed

kayiwa commented 3 years ago

run ansible task inside a tmux session

https://stackoverflow.com/questions/68925949/running-server-in-tmux-through-ansible

rlskoeser commented 3 years ago

ideally the script that runs the crawl and sends to github should also generate the index file and commit it, but that would require setting up python and installing pywb

~maybe we don't need this, since we're not planning to make the deployed version searchable and can use autoindexing for dev~

update: we do need this, because wayback can't find the pages to serve without an index.

rlskoeser commented 3 years ago

going to close this and open issues for remaining tasks, because the basic deploy & crawl script are working