Sandbox/experiment repository to try out Insomnia's Git Sync features.
Run Kong Gateway (and needed containers):
make build
Apply configuration to Kong Gateway:
deck sync -s kong.json
To clean up containers run
make clean
- Import this repository on Insomnia via Git (link to repo is:
https://github.com/filfreire/dino-park-insomnia.git
)
- If you make changes to the Spec, you can re-run on Insomnia the Declarative config generation (see image bellow), and edit the contents of kong.json file with the output. Don't forget to re-apply it to your Kong gateway instance by running
deck sync -s kong.json
.
- To check connection between DecK and your local Kong instance:
deck ping
- Spin up Gitlab Docker container:
docker-compose -f gitlab/docker-compose.yml up
- Get the
root
username password:sudo docker exec -it gitlab_web_1 grep 'Password:' /etc/gitlab/initial_root_password
- Login to the Gitlab Docker container
- Setup a personal access token (see this link on how to do it)
- Create a blank repo, and import it to Insomnia (e.g.
http://localhost/root/example-repo.git
)