Hidden Z
06468a3c7c
Properly setup django in standalone scripts
...
https://docs.djangoproject.com/en/dev/releases/1.7/#standalone-scripts
9 years ago
Hidden Z
6e3862d7ab
Convert tabs to spaces
9 years ago
Hidden Z
484cb5bee7
Update default DJANGO_PROJECT_PATH
11 years ago
Hidden Z
a432ef81a9
Update DJANGO_SETTINGS_MODULE in scripts
11 years ago
Hidden Z
4a1d0a1f96
Move py-i2phosts-* to bin/
11 years ago
Hidden Z
0819e15db8
py-i2phosts-*: do imports from system-wide pyi2phosts
14 years ago
Hidden Z
e48e67705f
py-i2phosts-builder: require "hostsfile" to be defined
...
"hostsfile" should be defined by passing command-line option "-f" or
using config option
14 years ago
Hidden Z
7351534f88
py-i2phosts-builder: use validate_config()
14 years ago
Hidden Z
dafd5df3fb
py-i2phosts-builder: add -d/--debug
...
Currently it does nothing, but may be used later.
14 years ago
Hidden Z
47d0957550
py-i2phosts-builder: add cli and config option for output file
14 years ago
Hidden Z
6bfc7d7fb3
py-i2phosts-builder: use config for django setup
14 years ago
Hidden Z
e64139d729
py-i2phosts-builder: add config file support
14 years ago
Hidden Z
00b98dfc93
py-i2phosts-builder: add command line options support
14 years ago
Hidden Z
a3b8128002
py-i2phosts-builder: split queryset
...
Just for improve readability.
14 years ago
Hidden Z
16b875177f
py-i2phosts-builder: bugfix: add newline after each record
...
Since 2858ba6084
base64 hashes appearing
in DB without newlines, so fix builder behavior.
14 years ago
Hidden Z
af828254aa
Rename builder and injector
...
renamed: builder -> py-i2phosts-builder
renamed: injector -> py-i2phosts-injector
14 years ago
Hidden Z
e3ec6c34bc
Redefine DJANGO_PROJECT_PATH in scripts
...
Assume that wep-part are located in <scriptdir>/web. Later we should use
a config variable for it. In production environment scripts will be
located in /usr/bin/
14 years ago
Hidden Z
3209120196
Add builder
...
This is an initial implementation of hosts.txt builder service.
14 years ago