匿名提问箱 / Anonymous Question Box
Create a configuration file app.ini
based on the template conf/app.sample.ini
. Adjust the settings as needed by
referring to the comments in the file.
# Pull the latest image
docker pull ghcr.io/nekowheel/nekobox:master
# Start the container (listen on port 80 and mount the configuration file)
docker run -dt --name NekoBox -p 80:80 -v $(pwd)/app.ini:/app/conf/app.ini ghcr.io/nekowheel/nekobox:master
# Clone the source code
git clone https://github.com/NekoWheel/NekoBox.git
# Enter the project directory
cd NekoBox
# Build the binary for the current system and architecture
go build -v -ldflags "-w -s -extldflags '-static'" -o NekoBox ./cmd/
# Build the binary for Linux, AMD64 architecture
GOOS=linux GOARCH=amd64 go build -v -ldflags "-w -s -extldflags '-static'" -o NekoBox ./cmd/
Create a configuration file based on the template conf/app.sample.ini
. Adjust the settings as needed by referring to
the comments in the file.
cp conf/app.sample.ini conf/app.ini
./NekoBox web
MIT License