Skip to content

kartoza/flask_user_map

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stories in Ready Build Status

User Map

A simple flask application for creating user community maps.

First create a valid config.py e.g.

cp users/config.py.prod users/config.py

Then edit the config file, setting appropriate values as needed.

To run in debug mode (which will also serve up static content), use the -d flag.

python runserver.py -d

If running under pycharm, remember to edit the run configuration and add the -d to the parameters.

Deployment using Docker

If you are using docker, you can create a Docker image for this app easily as follows:

wget -O Dockerfile https://raw.github.com/timlinux/user_map/master/docker/Dockerfile
wget -O sources.list https://raw.github.com/timlinux/user_map/master/docker/sources.list
wget -O post-setup.sh https://raw.github.com/timlinux/user_map/master/docker/post-setup.sh
chmod +x post-setup.sh

docker build -t linfiniti/user_map:base .
docker run -d -p 8099:80 -t linfiniti/user_map:base -n user_map -D

If you are on a Hetzner server, consider replacing the second line above with:

wget -O sources.list https://raw.github.com/timlinux/user_map/master/docker/hetzner-sources.list

Authors

Tim Sutton and Akbar Gumbira

About

A simple flask for creating user community maps

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •