Skip to content
This repository was archived by the owner on Feb 2, 2023. It is now read-only.

curate batteries-included docker image #1038

@fisx

Description

@fisx

It would be nice to have a README that lists a few steps to carry out in order to download and start aula in a way that is suitable for production use. This would require work on the README and on the docker image, but we should be able to use the same image for both ci and lightweight production deployment.

Here is what a new user had to do in order to get things partially to work (in German):

git clone --recursive https://github.com/liqd/aula
cd aula
./aula/docker/run.sh
apt-get update && apt-get install libicu-dev --fix-missing
stack install --install-ghc --fast --allow-different-user aula
aula-server
#Handarbeit: Jetzt sollte aula mit einer Fehlermeldung starten und einen
Inhalt für aula.yaml vorschlagen. Den in die Datei kopieren und die
_listenerInterface-Einträge von 127.0.0.1 auf 0.0.0.0 setzen.
export AULA_ROOT_PATH=/liqd/aula
mkdir -p dist/build
aula-init-state --admin=admin --admin-pwd=bla
--terms-of-use=null-terms-of-use.md
aula-server # Warten bis "[INFO] persistence: acid-state (memory)" in
aula.log erscheint.

Das Hauptproblem war, dass wir lange gebraucht haben um rauszufinden,
weshalb Dinge nicht funktionierten. Es gab wenig Rueckmeldung was gerade
warum gemacht wird und wie lange es brauche  wuerde.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions