an example of happyx
- sqlite
- static linking
- docker multi-stage build
TODO: Write installation instructions here
- write a shell script and copy to /usr/local/bin
zigcc content
#!/usr/bin/env bash
zig cc $@
cp zigcc /usr/local/bin
- build app with zigcc
nimble zigcc
- run app
./bin/test_happyx_release_zigcc
- build docker image
test-happyx
docker build -t test-happyx --build-arg http_proxy=$HTTP_PROXY .
- create docker network
mnet
docker network create -o com.docker.network.bridge.name=mnet mnet
- run docker container
test-happyx
in networkmnet
docker run -dit --name test-happyx --net mnet -p 5000:5000/tcp test-happyx
docker compose up -d
TODO: Write development instructions here
- Fork it (https://github.com/lost22git/test_happyx/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
- lost22git - creator and maintainer