Skip to main content

Installation

Start Apache Answer

There are multiple ways to start Apache Answer, you can choose the one that suits you best.

We recommend using Docker Compose to run Apache Answer. This is the easiest way to get started with Apache Answer.

tip

If you are using Docker Desktop on Windows or Mac, docker-compose is already included. If you are using Linux, you will need to install docker-compose separately.

curl -fsSL https://raw.githubusercontent.com/apache/incubator-answer/main/docker-compose.yaml | docker compose -p answer -f - up

The default port for Apache Answer is 9080. You can access it at http://localhost:9080.

Install steps

After you start the answer, you can follow the steps below to complete the initialization about the basic configuration.

Step 1: Choose the language

install-choose-language

Step 2: Config database

tip

Apache Answer supports MySQL, PostgreSQL, and SQLite as the database backend. The smallest environment is SQLite, which does not require any additional configuration. If you want to use MySQL or PostgreSQL, you need to setup the database first and then configure the database connection in this step. Here we recommend using sqlite3 to complete your first experience.

install-database

Step 3: Create configuration file

Click Next button to create the configuration file.

install-create-config-file

Step 4: Fill in basic information

caution

Site URL is the browser address you will use to access answers after installation. If you are deploying a subdirectory, the site url needs to include the subdirectory's path, eg: https://yourdoamin/{subdirectory}

Don't forget the admin Email and password.

install-site-info

Step 5: Complete

Congratulations, you can click the done button to start your answer journey!

install-complete