A simple flask for creating user community maps
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.idea
docker
users
.gitignore
LICENSE
README.md
jenkins.sh
pylintrc
requirements.txt
runserver.py
runtests.sh

README.md

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