[QGIS-Developer] Vagrant file for QGIS-Django

Tim Sutton tim at kartoza.com
Fri Mar 8 03:59:41 PST 2019


Hi 


Vagrant is so 2000s :-p Everything runs in docker. We have it in a a private docker hub repo as image contains a working db snapshot too..

Richard is the gate keeper for getting access to the hub repo after which you should be able to do:


docker login
docker run -ti -p 8099:80 \
        -d --restart=unless-stopped \
        --name="plugins" \
        -v ${PWD}/static:/home/plugins/QGIS-Django/qgis-app/static \
        -v ${PWD}/backups:/backups \
        -v ${PWD}/tmp:/tmp \
        -v ${PWD}/logs:/var/log/nginx \
        qgis/plugins:latest \
        supervisord -n

The volume mounts are not strictly necessary - we store teh actual plugin packages in a host directory instead of the container.

Regards

Tim

> On 08 Mar 2019, at 13:41, Nathan Woodrow <madmanwoo at gmail.com> wrote:
> 
> Hey,
> 
> Is there any premade vagrant file I can use for the QGIS-Django project that already has everything set up?  
> 
> If not I can make one as I run Windows most of the time and I would like to have something set up I can just run up and shutdown nicely to match what we have running on https://plugins.qgis.org without having to install anything local on my windows machine.
> 
> Keen to see if others with more experience have done work in this area before so I don't have to reinvent it, but happy to do it if other haven't.
> 
> Regards,
> Nathan 
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

—








Tim Sutton

Co-founder: Kartoza
Ex Project chair: QGIS.org

Visit http://kartoza.com <http://kartoza.com/> to find out about open source:

Desktop GIS programming services
Geospatial web development
GIS Training
Consulting Services

Skype: timlinux 
IRC: timlinux on #qgis at freenode.net

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20190308/15436f76/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: KartozaNewLogoThumbnail.jpg
Type: image/jpeg
Size: 6122 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20190308/15436f76/attachment-0001.jpg>


More information about the QGIS-Developer mailing list