This is a customized version of Apache Answer featuring a hierarchical tags system with three levels (Offerings → Specializations → Topics) that organizes questions in a sortable, structured way. The system includes role-based access (admins create tags, users create questions), an accordion browse view with filtering, and comes with sample data for demo purposes. Additionally, it includes streamlined Docker deployment options for both interactive development and automated production environments.
Having trouble with make on Windows? See WINDOWS_BUILD.md for Windows-specific build instructions using batch scripts.
For development where you manually build and run:
./docker-local-start.sh # Build image and enter container
make build # Inside: build Linux binary
./answer run -C ./answer-data # Inside: start serverAccess at http://localhost:9080
For production where everything runs automatically:
./docker-start.sh # Build image, start server automaticallyAccess at http://localhost:9080
Linux/Mac:
make build # Build backend
./answer run -C ./answer-data # Run backend
cd ui && pnpm install && pnpm start # In another terminal: run frontendWindows (cmd.exe):
build-all.bat # Build both UI and backend
answer.exe run -C .\answer-data # Run backend
REM Or build separately:
build-ui.bat # Build UI only
build.bat # Build backend onlyBoth scripts support pushing to Docker Hub. Ensure you're logged in first:
docker loginThen run with your Docker Hub username:
./docker-local-start.sh push <username> # Push apache-local image
./docker-start.sh push <username> # Push apache-automated imageApache License 2.0 - See LICENSE file for details.
This is a customized fork of Apache Answer.