##// END OF EJS Templates
make-config: tweak description - don't call it "bare" and don't reference setup-app
Mads Kiilerich -
r7308:c677d583 default
parent child Browse files
Show More
@@ -36,15 +36,18 b' from kallithea.lib import inifile'
36 class Command(BasePasterCommand):
36 class Command(BasePasterCommand):
37 """Kallithea: Create a new config file
37 """Kallithea: Create a new config file
38
38
39 make-config is part of a two-phase installation process (the
39 make-config is the first part of the two step setup process. This first
40 second phase is setup-app). make-config creates a bare configuration
40 step creates a customized .ini configuration file. The next step is to run
41 file (possibly filling in defaults from the extra
41 setup-db to populate the database that is referenced in the configuration
42 variables you give).
42 file.
43
43
44 The first key=value arguments are used to customize the Mako variables from
44 The primary high level configuration keys and their default values are
45 what is shown with --show-defaults. Any following key=value arguments will be
45 shown with --show-defaults . Custom values can be specified on the command
46 patched/inserted in the [app:main] section ... until another section name
46 line as key=value arguments when creating a config file.
47 is specified and change where the following values go.
47
48 Additional key=value arguments will be patched/inserted in the [app:main]
49 section ... until another section name specifies where any following values
50 should go.
48 """
51 """
49
52
50 takes_config_file = False # at least not an existing one ...
53 takes_config_file = False # at least not an existing one ...
@@ -51,9 +51,6 b' testapp = None'
51 'GIT_REMOTE_REPO', 'HG_TEST_REVISION', 'GIT_TEST_REVISION',
51 'GIT_REMOTE_REPO', 'HG_TEST_REVISION', 'GIT_TEST_REVISION',
52 ]
52 ]
53
53
54 # Invoke websetup with the current config file
55 # SetupCommand('setup-app').run([config_file])
56
57 ## SOME GLOBALS FOR TESTS
54 ## SOME GLOBALS FOR TESTS
58
55
59 TESTS_TMP_PATH = os.environ.get('KALLITHEA_TESTS_TMP_PATH', tempfile.mkdtemp(prefix='kallithea-test-'))
56 TESTS_TMP_PATH = os.environ.get('KALLITHEA_TESTS_TMP_PATH', tempfile.mkdtemp(prefix='kallithea-test-'))
General Comments 0
You need to be logged in to leave comments. Login now