Ticket #5050: 0001-move-paste.ini-to-paste.example.ini.patch
File 0001-move-paste.ini-to-paste.example.ini.patch, 5.6 KB (added by , 10 years ago) |
---|
-
.gitignore
From c169dc0b6bc117dd30c58de896970b1a26b81031 Mon Sep 17 00:00:00 2001 From: ayleph <ayleph@thisshitistemp.com> Date: Tue, 10 Mar 2015 22:30:58 -0700 Subject: [PATCH] move paste.ini to paste.example.ini --- .gitignore | 1 + Makefile.in | 8 ++++-- paste.example.ini | 85 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ paste.ini | 85 ------------------------------------------------------- 4 files changed, 92 insertions(+), 87 deletions(-) create mode 100644 paste.example.ini delete mode 100644 paste.ini diff --git a/.gitignore b/.gitignore index a38c65a..e8b0432 100644
a b 28 28 *.egg/ 29 29 /env 30 30 /mediagoblin.ini 31 /paste.ini 31 32 /node_modules/ 32 33 33 34 # pyconfigure/automake generated files -
Makefile.in
diff --git a/Makefile.in b/Makefile.in index 5964a82..a304e39 100644
a b endif 101 101 extlib: 102 102 ./devtools/update_extlib.sh 103 103 104 develop: $(maybe_venv_dep) i18n mediagoblin.ini 104 develop: $(maybe_venv_dep) i18n paste.ini mediagoblin.ini 105 106 # NEVER clobber a user's paste.ini once they've defined it 107 paste.ini: 108 cp --no-clobber paste.example.ini paste.ini 105 109 106 110 # NEVER clobber a user's mediagoblin.ini once they've defined it 107 111 mediagoblin.ini: 108 112 cp --no-clobber mediagoblin.example.ini mediagoblin.ini 109 113 110 # base-configs: paste. ini mediagoblin.example.ini114 # base-configs: paste.example.ini mediagoblin.example.ini 111 115 112 116 install: installdirs 113 117 $(maybe_venved_python) $(srcdir)/setup.py install --prefix=$(DESTDIR)$(prefix) -
new file paste.example.ini
diff --git a/paste.example.ini b/paste.example.ini new file mode 100644 index 0000000..68fd9de
- + 1 # If you want to make changes to this file, first copy it to 2 # paste_local.ini, then make the changes there. 3 4 [DEFAULT] 5 # Set to true to enable web-based debugging messages and etc. 6 debug = false 7 8 [pipeline:main] 9 pipeline = errors mediagoblin 10 11 [app:mediagoblin] 12 use = egg:mediagoblin#app 13 config = %(here)s/mediagoblin_local.ini %(here)s/mediagoblin.ini 14 # static paths 15 /mgoblin_media = %(here)s/user_dev/media/public 16 /mgoblin_static = %(here)s/mediagoblin/static 17 /theme_static = %(here)s/user_dev/theme_static 18 /plugin_static = %(here)s/user_dev/plugin_static 19 20 [loggers] 21 keys = root 22 23 [handlers] 24 keys = console 25 26 [formatters] 27 keys = generic 28 29 [logger_root] 30 level = INFO 31 handlers = console 32 33 [handler_console] 34 class = StreamHandler 35 args = (sys.stderr,) 36 level = NOTSET 37 formatter = generic 38 39 [formatter_generic] 40 format = %(asctime)s %(levelname)-7.7s [%(name)s] %(message)s 41 42 [filter:errors] 43 use = egg:mediagoblin#errors 44 debug = false 45 46 47 ############################## 48 # Server configuration options 49 ############################## 50 51 # The server that is run by default. 52 # By default, should only be accessable locally 53 [server:main] 54 use = egg:mediagoblin#paste_server_selector 55 host = 127.0.0.1 56 port = 6543 57 # Gunicorn settings. See http://docs.gunicorn.org/en/19.0/settings.html 58 # for more information about configuring Gunicorn 59 proc_name = gmg 60 reload = true 61 accesslog = - 62 63 ####################### 64 # Helper server configs 65 # --------------------- 66 # If you are configuring the paste config manually, you can remove 67 # these. 68 69 # Use this if you want to run on port 6543 and have MediaGoblin be 70 # viewable externally 71 [server:broadcast] 72 use = egg:Paste#http 73 host = 0.0.0.0 74 port = 6543 75 76 # Use this if you want to connect via fastcgi 77 [server:fcgi] 78 use = egg:flup#fcgi_fork 79 host = %(fcgi_host)s 80 port = %(fcgi_port)s 81 82 [server:http] 83 use = egg:Paste#http 84 host = %(http_host)s 85 port = %(http_port)s -
deleted file paste.ini
diff --git a/paste.ini b/paste.ini deleted file mode 100644 index 68fd9de..0000000
+ - 1 # If you want to make changes to this file, first copy it to2 # paste_local.ini, then make the changes there.3 4 [DEFAULT]5 # Set to true to enable web-based debugging messages and etc.6 debug = false7 8 [pipeline:main]9 pipeline = errors mediagoblin10 11 [app:mediagoblin]12 use = egg:mediagoblin#app13 config = %(here)s/mediagoblin_local.ini %(here)s/mediagoblin.ini14 # static paths15 /mgoblin_media = %(here)s/user_dev/media/public16 /mgoblin_static = %(here)s/mediagoblin/static17 /theme_static = %(here)s/user_dev/theme_static18 /plugin_static = %(here)s/user_dev/plugin_static19 20 [loggers]21 keys = root22 23 [handlers]24 keys = console25 26 [formatters]27 keys = generic28 29 [logger_root]30 level = INFO31 handlers = console32 33 [handler_console]34 class = StreamHandler35 args = (sys.stderr,)36 level = NOTSET37 formatter = generic38 39 [formatter_generic]40 format = %(asctime)s %(levelname)-7.7s [%(name)s] %(message)s41 42 [filter:errors]43 use = egg:mediagoblin#errors44 debug = false45 46 47 ##############################48 # Server configuration options49 ##############################50 51 # The server that is run by default.52 # By default, should only be accessable locally53 [server:main]54 use = egg:mediagoblin#paste_server_selector55 host = 127.0.0.156 port = 654357 # Gunicorn settings. See http://docs.gunicorn.org/en/19.0/settings.html58 # for more information about configuring Gunicorn59 proc_name = gmg60 reload = true61 accesslog = -62 63 #######################64 # Helper server configs65 # ---------------------66 # If you are configuring the paste config manually, you can remove67 # these.68 69 # Use this if you want to run on port 6543 and have MediaGoblin be70 # viewable externally71 [server:broadcast]72 use = egg:Paste#http73 host = 0.0.0.074 port = 654375 76 # Use this if you want to connect via fastcgi77 [server:fcgi]78 use = egg:flup#fcgi_fork79 host = %(fcgi_host)s80 port = %(fcgi_port)s81 82 [server:http]83 use = egg:Paste#http84 host = %(http_host)s85 port = %(http_port)s