1- [ ![ Stories in Ready] ( https://badge.waffle.io/timlinux/user_map.png?label=ready )] ( https://waffle.io/timlinux/user_map )
2- [ ![ Build Status] ( http://jenkins.linfiniti.com/buildStatus/icon?job=UserMap )] ( http://jenkins.linfiniti.com/job/UserMap/ )
3-
41User Map
52========
63
74A simple flask application for creating user community maps.
85
6+ Hacking
7+ -------
8+
99By default, this app reads configuration from ` users/default_config.py ` .
1010To override values set in default config, simply copy the contents
1111of ` users/default_config.py ` and save it elsewhere.
@@ -14,20 +14,18 @@ of `users/default_config.py` and save it elsewhere.
1414
1515Then edit the custom config file, setting appropriate values as needed.
1616
17- To run in debug mode (which will also serve up static content),
18- use the ` -d ` flag:
17+ To run the development server:
1918
20- USERS_CONFIG=/path/to/custom/config.py python runserver .py -d
19+ USERS_CONFIG=/path/to/custom/config.py python manage .py runserver
2120
2221Each config item is overridable through environment variable.
23- For instance, if you want to suppress email delivery,
24- simply set appropriate value:
22+ For instance, if you want to suppress email delivery, simply set appropriate value:
2523
26- USERS_MAIL_SUPPRESS_SEND=True python runserver
24+ USERS_MAIL_SUPPRESS_SEND=True python manage.py runserver
2725
2826To run testcases:
2927
30- USERS_CONFIG=/path/to/custom/config.py MAIL_SUPPRESS_SEND =True ./runtests.sh
28+ USERS_CONFIG=/path/to/custom/config.py USERS_MAIL_SUPPRESS_SEND =True ./runtests.sh
3129
3230Collaboration
3331-------------
@@ -38,28 +36,6 @@ Collaboration
38364 . Once it done, submit your pull request (PR) against upstream ` develop ` branch.
39375 . Our maintainers will review your PR. If it's good — all tests passed and proposed feature is in our roadmap — your PR will be merged.
4038
41- Deployment using Docker
42- -----------------------
43-
44- If you are using docker, you can create a Docker image for this app easily as
45- follows:
46-
47- ```
48- wget -O Dockerfile https://raw.github.com/timlinux/user_map/master/docker/Dockerfile
49- wget -O sources.list https://raw.github.com/timlinux/user_map/master/docker/sources.list
50- wget -O post-setup.sh https://raw.github.com/timlinux/user_map/master/docker/post-setup.sh
51- chmod +x post-setup.sh
52-
53- docker build -t linfiniti/user_map:base .
54- docker run -d -p 8099:80 -t linfiniti/user_map:base -n user_map -D
55- ```
56-
57- If you are on a Hetzner server, consider replacing the second line above with:
58-
59- ```
60- wget -O sources.list https://raw.github.com/timlinux/user_map/master/docker/hetzner-sources.list
61- ```
62-
6339Authors
6440-------
6541
0 commit comments