{% extends base_template %} {% block title %}Configuration::{{config.APP_NAME}}{% endblock %} {% block content %}
You should read the comments in protein_turnover_website/config.py
.
These should be set in
instance/turnover-web.cfg
if running a multi user website or ~/.turnover-web.cfg
if running as
a single user site (e.g. as turnover web
).
JOBSDIR
= "/path/to/jobs-directory"
[required] where job files live.
CACHEDIR
= "/path/to/cachedir"
[required] where cache files live.
MOUNTPOINTS
[required]. A list of directories visible to users of this website.
Represented as a tuple of
(/full/path/to/directory, nickname, optional regex *string* to restrict visible files)
.
e.g.
MOUNTPOINTS = [("/path/to/protein_turnover_data", "Turnover", r"^.*\.(mzML|pep.xml)$"), ("/path/to/home", "HOME")]Remember that changing MOUNTPOINTS may make filenames already stored in '
*.toml
'
job
files "inaccessible" to this website since the mapping of
absolute path => (mountpoint, relative path)
may be broken.
Also remember that all files specified under MOUNTPOINTS
are potentially visible to everybody!
SITE_PASSWORD
. Secure access to this site using a password.
If this is a dictionary then it is assumed to be a dictionary of
{email: password}
otherwise just a string that all users
need to know. If this is set you will also need to add
a SECRET_KEY
. (See here)
ADMINS
a list of emails that will be used to
log any unexpected problems with this website. (See also MAIL_SERVER
)
MAIL_SERVER
. Where to send any emails generated by this website.
You probably want to set this if you have set ADMINS
!