Skip to content

Latest commit

 

History

History
50 lines (30 loc) · 857 Bytes

File metadata and controls

50 lines (30 loc) · 857 Bytes

Askgod

Askgod is the NorthSec CTF backend that handles flags.

Installation

1. (optional) Install go

https://go.dev/doc/install

go --version  # Should output `go version go<version> linux/amd64`
go install github.com/go-delve/delve/cmd/dlv@latest  # Install delve (go debugger)

2. (optional) Install recommended VS Code extensions

You should have a pop up if you opened the root directory in VS Code.

3. Build askgod-server and start a postgresql instance using docker compose:

docker compose up -d

4. Add seed data

./seed_data.sh

--------

Compile binary

From the root directory:

make linux

This will create two executables in ./bin/linux: askgod and askgod-server.

Launch the askgod-server

./bin/linux/askgod-server ./askgod.yaml.example