From 296b7cffb98bb96c1868257d969ccf3c57dded74 Mon Sep 17 00:00:00 2001 From: Ivan Mahonin Date: Sep 25 2019 05:53:46 +0000 Subject: fix config --- diff --git a/.gitignore b/.gitignore index 144db77..67b5b03 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /earthworm.kdev4 __pycache__ /repo/ +/config.py diff --git a/config.py b/config.py deleted file mode 100644 index 8757960..0000000 --- a/config.py +++ /dev/null @@ -1,30 +0,0 @@ - -config = { - 'domain' : 'earthworm.local', - 'debug' : True, - - 'db': { - 'prefix' : 'ew_', - 'connection': { - 'host' : '127.0.0.1', - 'user' : 'root', - 'passwd' : 'password', - 'db' : 'earthworm', - 'charset' : 'utf8mb4', - }, - }, - - 'users': { - 'showlist' : True, - 'selfcreate' : True, - 'selfdelete' : True, - }, - - 'repositories': { - 'git': { - 'internalurl' : 'http://localhost:8011/repo/git', - 'path' : '/home/bw/work/dev/earthworm/repo/git' - }, - }, -} - diff --git a/configsample.py b/configsample.py new file mode 100644 index 0000000..8757960 --- /dev/null +++ b/configsample.py @@ -0,0 +1,30 @@ + +config = { + 'domain' : 'earthworm.local', + 'debug' : True, + + 'db': { + 'prefix' : 'ew_', + 'connection': { + 'host' : '127.0.0.1', + 'user' : 'root', + 'passwd' : 'password', + 'db' : 'earthworm', + 'charset' : 'utf8mb4', + }, + }, + + 'users': { + 'showlist' : True, + 'selfcreate' : True, + 'selfdelete' : True, + }, + + 'repositories': { + 'git': { + 'internalurl' : 'http://localhost:8011/repo/git', + 'path' : '/home/bw/work/dev/earthworm/repo/git' + }, + }, +} +