Draft: feat: docker-based dev. environment
Get a working dev. environment from scratch with minimal changes on your host system.
Server-side changes are hot-reloaded, you'll just need to refresh your browser page.
Dependencies:
apt install devscripts podman
Clone this repository and cd
into it.
None of the build/install steps of the original doc are still required.
Build image:
cd docker/
mk-build-deps ../debian/control
podman build . -t llng-local-dev
Start container:
podman run -d -v ../:/app -p 19876:19876 llng-local-dev
Ensure you declare test domain names to your hosts file:
echo '127.0.0.1 auth.example.com manager.example.com test1.example.com test2.example.com' >> /etc/hosts
Open http://auth.example.com:19876/ in your browser.