FachschaftMathPhysInfo / kummerkasten

Das Rückmeldesystem der Fachschaft MathPhysInfo
https://kummerkasten.mathphys.stura.uni-heidelberg.de
3 stars 0 forks source link

Remove manual steps on first setup #39

Open christian-heusel opened 3 years ago

christian-heusel commented 3 years ago

We could use something like MaMpf uses here to remove the manual execution of rake db:create etc.: https://github.com/MaMpf-HD/mampf/blob/b04efdefc471b0a42f5059ea87bdad18a7f0adc2/entrypoint.sh#L24-L46

if ! [ -f /completed_initial_run ]
then
    # [...]
    echo 'finished initialisation' &> >(tee -a /usr/src/app/log/initialisation.log)
    touch /completed_initial_run
fi