Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 1.62 KB

README.md

File metadata and controls

35 lines (26 loc) · 1.62 KB

PALP Prequel

PALP Prequel is a Flask web application that was created to help researchers prepare images for the PALP project. It uses data from Pitture e pavimenti di Pompei, PompeiiinPictures, and an ArcGIS Map. The prequel is currently hosted at https://prequel.p-lod.umasscreate.net/.

User Workflow

Users start by entering an location, which queries the various databases. They then can describe the images they see, such as if there's art on a specific wall and what ARC number might be relevant to it.

Integrations

Installation

  • Clone or download GitHub repository
  • pip install -r requirements.txt
  • Add relevant configuration files
  • Add empty images/ directory within static/

Configuration Files

  • mysql.cfg
    • MYSQL username, password, database, and host; each separated by newline
  • user.cfg
    • site username and password, separated by newline
  • My Project-1f2512d178cb.json
    • Generated by Google API - just rename file
  • box_config.json
    • Generated by Box API - just rename file

File Structure

  • templates/ - HTML files that take in Flask output and display the site
  • app.py - main Flask Python file; further documentation
  • static/css/style.css - Basic styling
  • static/js - Helper JS files