config.env.default 1.26 KB
Newer Older
Lukas Burgey's avatar
Lukas Burgey committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# 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=
# }}}