-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappendix.tex
35 lines (21 loc) · 1.28 KB
/
appendix.tex
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
\appendix
\subsection{Changing the Default /dashboard Endpoint }
THIS STUFF SHOULD BE MOVED TO THE APPENDIX. And in a footnote we just mention that ... \ins{REQUIREMENT}: The system must provide an easy way to add more specific configurations if needed. A way of overwriting the common sense defaults.
Further configuration is not needed possible by adding additional statements before the binding definition, for example,
\begin{lstlisting}[style=custompython]
...
dashboard.config.link = 'mydashboard'
dashboard.bind(flask_app)
\end{lstlisting}
allows for a custom route (\code{/mydashboard}) to the dashboard to be defined by the programmer. An external configuration file can be used instead, or in addition to this:
\begin{lstlisting}[style=custompython]
...
dashboard.config.from_file('config.cfg')
...
\end{lstlisting}
\subsection{For those who don't use GIT}
\textit{Manual} version control requires the developer to tag each new version of the application with an appropriate version identifier~\cite{papazoglou2011managing} using the \code{APP\_VERSION} configuration parameter, for example by adding to the configuration file:
\begin{lstlisting}[style=custompython]
[dashboard]
APP_VERSION=<versionID>
\end{lstlisting}