This is a simple Flask application to manage the list of applications of IMP to biological systems at https://integrativemodeling.org/systems/.
- 
Create a file
Makefile.includein the same directory asMakefilethat sets theWEBTOPvariable to a directory readable by Apache. - 
Create a configuration file
<WEBTOP>/instance/systems.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.SYSTEM_TOP: directory containing metadata for each system (this is populated by theutil/update_metadata.pyscript).MAIL_SERVER,MAIL_PORT,FROM_ADDR,ADMINS: host and port to connect to to send emails when the application encounters an error, the address emails should come from, and a Python list of users to notify.
 
- Install 
mod_wsgi. - Add 
Aliasrules to the Apache configuration to point/systems/staticto<WEBTOP>/staticand/systems/infoto<SYSTEM_TOP>. - Add a suitable 
WSGIScriptAliasrule to the Apache configuration pointing/systemsto<WEBTOP>/systems.wsgi. 
Use make test to test changes to the application, and make install to
deploy it (this will install the files to the WEBTOP directory).