Coder Social home page Coder Social logo

docker-lizmap's Introduction

docker-websig

This image contains a WebGIS server: Apache, qgis-mapsever, lizmap-web-client, and all dependencies required for operation

To build the image do:

docker build -t jancelin/docker-websig git://github.com/jancelin/docker-websig

before running:

This version keeps on host files (jauth.db, lizmapConfig.ini.php, logs.db) so you can use it for other Container.

If the host is ubuntu server: Copy the files to a directory on the host, do a chown www-data about each file and install php5-sqlite: apt-get install php5-sqlite

If the host is centos: Copy the files to a directory on the host, do a chown: 33 on each file (apache does not know :www-data, but :apache so we make it a joke). And install php5-sqlite: http://www.nginxtips.com/install-php-5-5-centos-6-5/

To run a container do:

docker run --name "websig-server" -p 8081:80 -d -t -v /your_qgis_folder:/home:ro -v /your_config_folder:/home2 jancelin/docker-websig

-p 8081:80 ---> link between the port 80 of the Container and port 8081 of the host

-v /your_folder:/home ---> provides a link between your host file (read-only)containing the .qgs, and / home Container.

-v /your_config_folder:/home2 ---> rovides a link between your host file containing the lizmap config, and / home2 Container.

ex: docker run --name "websig-server-entomo" -p 8081:80 -d -t -v /home/jancelin/ENTOMO:/home:ro -v /home/jancelin/sauvlizmap/entomo:/home2 jancelin/docker-websig

or for edit

docker run -i -t jancelin/docker-websig /bin/bash


Lizmap working for testing at

http://"your_ip_serveur":8081/lizmap-web-client-2.10beta4/lizmap/www/

lizmap admin at

http://"your_ip_serveur":8081/lizmap-web-client-2.10beta4/lizmap/www/admin.php

Lizmap working with your data and config at :

http://"your_ip_serveur":8081/websig/lizmap/www/

lizmap admin at

http://"your_ip_serveur":8081/websig/lizmap/www/admin.php


Lizmap Web Application generates dynamically a web map application (php/html/css/js) with the help of Qgis Server ( QGIS Server Tutorial ). You can configure one web map per Qgis project with the QGIS LizMap Plugin.

http://docs.3liz.com/

http://www.3liz.com/


Julien ANCELIN ( [email protected]) 09/2014 INRA

docker-lizmap's People

Contributors

jancelin avatar timlinux avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.