wgvirtipd/dev
2024-01-17 22:14:52 +01:00
..
config Start adding dev env. 2024-01-17 21:49:09 +01:00
server Improve Dockerfile. 2024-01-17 22:04:46 +01:00
.gitignore Start adding dev env. 2024-01-17 21:49:09 +01:00
docker-compose.yaml.tmpl Add debug build into docker containers. 2024-01-17 22:14:52 +01:00
README.md Add debug build into docker containers. 2024-01-17 22:14:52 +01:00
setup.yaml Add debug build into docker containers. 2024-01-17 22:14:52 +01:00

Start developing

One time setup

The binary has to be compiled with the musl target:

$ rustup target add x86_64-unknown-linux-musl
$ cargo build --target=x86_64-unknown-linux-musl
  1. Run ansible-playbook setup.yaml to generate all required development files.
  2. Run docker compose up -d to start 4 development servers which are connected via wireguard.