The Quakers & Mental Health portal launched in the summer of 2015 as an interactive website to hold scholarship about the history of mental health in Philadelphia, in the 19th and 20 centuries, and in particular of Friends Hospital, the first private mental health institution in the United States. This multi-year project combines archival research and writing with digital scholarship to create and support scholarship on the history of mental health, to analyze data and create visualizations from that research. The Friends Hospital records, which are on loan to Haverford College Quaker & Special Collections, offer a wealth of information on Quakerism, the treatment of the mentally ill, and the development of American psychiatric hospitals in the 19th and 20th centuries.
This project consists of basic static pages built on Django, and uses Plotly to create interactive data visualizations.
- Install Docker Desktop
- Clone the project and point Docker Desktop to the project directory.
- Visit
http://localhost:8000
in your browser.
See Deploying Docker Projects.
In the repo, add images to this directory /myAsylum/qmh/static/images. The static image mounting does not appear to be correctly set up. This needs to be fixed in the future. In the meantime, you can manually copy the image from the upload directly to the static folder it wants to be in:
Example:
cd /srv/qmh-v2/myAsylum/static/images
cp /srv/qmh-v2/myAsylum/qmh/static/images/GenderDeath.png GenderDeath.png
- Upload the PDF to this static folder (note: there are two static folders, we don't know why.
/myAsylum/static/essays
in the correct one)*
-
- I(Mike) think it actually should go in qmh/myAsylum/qmh/static/essays, it seems that after branching from commit f05dfea, 22_Bratt.pdf was present in the qmh/myAsylum/static/essays folder, but not the qmh/myAsylum/qmh/static/essays folder, and the locally hosted site showed no pdf. After cp-ing 22_Bratt.pdf over to the more nested essays dictionary, the site is now hosting this essay file correctly, indicating that the latter folder location is the correct one. TLDR: use /qmh/myAsylum/qmh/static/essays/ for the location
- Create the html template in
/myAsylum/qmh/templates/
(you can mostly duplicate an existing essay template)
-
- duplicate essay_23Roark.html for reference