# vim: set filetype=bash foldmethod=marker : # the domain / host of this machine export domain=hdf-portal-dev.data.kit.edu # the user which runs the backend export user=feudal export root=/home/$user # dir for the config files export config=$root/config # the directory for the logs (unprivileged) export logs=$root/logs systemd=/home/$user/.local/share/systemd/user # {{{ uwsgi export uwsgi_ini=$config/uwsgi.ini export uwsgi_socket=$root/feudal.sock # }}} # {{{ backend # python version (currently only tested with 3.5) export python=$(which python3.5) # the directory into which you cloned https://git.scc.kit.edu/feudal/feudalBackend export backend=$root/feudalBackend export static=$backend/static export venv=$backend/env export secret=$config/django.key export mysql=$config/mysql.cnf export port_websocket=15674 # }}} # {{{ webpage # the directory for https://git.scc.kit.edu/feudal/feudalWebpage export webpage=$root/feudalWebpage export dist=$webpage/dist # }}} # {{{ ssl certificate ssl=/etc/ssl/$domain export ssl_chain=$ssl/chain.pem export ssl_cert=$ssl/cert.pem export ssl_fullchain=$ssl/fullchain.pem export ssl_key=$ssl/key.pem export dhparam=/etc/nginx/cert/dhparam.pem # }}} # {{{ db export db_user= export db_password= export db_host= export db_name= # }}}