apache / apache/answer-website

Improve environment variable usage documentation

Offen
#273 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
bug
Vorherrschende Sprache
TypeScript
Sterne
47
Forks
70
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

## Describe the error

I have completely read the Chinese installation document of Answer. I need to add a more complete description of the `AUTO_INSTALL` setting in `environment variables`. If there is no docker volumes mapping, when using environment variables for Answer installation, delete the Answer to run the container. And run the Answer container again, Answer will populate the database again, but the database already has content, Answer will prompt an error (the config.yaml file is missing, and the database uses postgresql).

### Reappear

Set AUTO_INSTALL to true according to the document, and the installation will be automatically successful. The data has been written to the database. At this time, Answer can be accessed normally. After deleting the running container and using the same parameters, Answer will write the configuration to the database again. information, but the same configuration information already exists in postgresql.

### Expected behavior

AnswerYou can use environment variables for parameter configuration and run, no configuration file is required.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Beginne mit dem Abschnitt zu den Umgebungsvariablen im chinesischen Installationsdokument und überprüfe die AUTO_INSTALL-Anleitung zusammen mit dem im Issue beschriebenen Verhalten von Container und PostgreSQL. Als erledigt gilt die Aufgabe, wenn die Dokumentation die Konfiguration und das Neustartszenario klar erklärt, einschließlich der Notwendigkeit, vorhandene Datenbankinhalte zu berücksichtigen, wenn kein Docker-Volume eingebunden ist.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
docker, postgresql
Bereich
databases, documentation
Issue-Typ
Dokumentation
Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.