Skip to content

Instantly share code, notes, and snippets.

@nboisteault
Last active September 5, 2022 14:08
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nboisteault/18fb47123e1ef42d1d97aa6a5ee6682e to your computer and use it in GitHub Desktop.
Save nboisteault/18fb47123e1ef42d1d97aa6a5ee6682e to your computer and use it in GitHub Desktop.
Test Lizmap Web Client with Docker

Test Lizmap Web Client with Docker

  1. Install Docker https://docs.docker.com/desktop/windows/install/
  2. Install Git https://git-scm.com/download/win
  3. Launch Git Bash as administrator (right-click, run as administrator), then in the new window...
# Create a directory for Git repositories
mkdir GIT
# Git clone Lizmap Web Client in this directory
cd GIT && git clone https://github.com/3liz/lizmap-web-client.git --config core.autocrlf=input
# Go to tests repository
cd lizmap-web-client/tests/
# Download Lizmap plugin for QGIS Server (https://packages.3liz.org/pub/lizmap-qgis-plugin/master/lizmap-qgis-plugin.master.zip) and unzip the content in `qgis-server-plugins/` directory
# Launch Lizmap Web Client with docker-compose
docker-compose --env-file .env.windows up
# You can now go to http://localhost:8130 and test!

# Later, you can get the latest changes in Lizmap Web Client with:
git pull
@mdouchin
Copy link

Thanks ! Could you please insert your doc in a bash code block to ease the reading ?

@nboisteault
Copy link
Author

@mdouchin Done! I'll publish it on our github after beta testers will test this procedure.

@mdouchin
Copy link

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment