Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

salilab/imp-results-web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Obsolete

This repo is obsolete. Please use the imp_nightly_builds repo instead.

Old summary

This is a simple Flask application to show the IMP nightly build results page at https://integrativemodeling.org/nightly/results/.

Configuration

  1. Create a file Makefile.include in the same directory as Makefile that sets the WEBTOP variable to a directory readable by Apache.

  2. Create a configuration file <WEBTOP>/instance/imp-results.cfg. This should be readable only by Apache (since it contains passwords) and contain a number of key=value pairs:

    • HOST, DATABASE, USER, PASSWORD: parameters to connect to the MySQL server.
    • TOPDIR, LAB_ONLY_TOPDIR: directories where IMP build results (both public and lab-only) can be found.
    • MAIL_SERVER, MAIL_PORT, ADMINS: host and port to connect to to send emails when the application encounters an error, and a Python list of users to notify.

Apache setup

  1. Install mod_wsgi.
  2. Add Alias rule to the Apache configuration to point /nightly/results/static to <WEBTOP>/static.
  3. Add a suitable WSGIScriptAlias rule to the Apache configuration pointing /nightly/results/ to <WEBTOP>/results.wsgi.

Deployment

Use make test to test changes to the application, and make install to deploy it (this will install the files to the WEBTOP directory).

About

Obsolete; please use imp_nightly_builds repo instead

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published