mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
Update comments to rename Local Server => Enterprise.
(imported from commit 82bf89aa1148a78ce11ead203a0bc16243d1fca8)
This commit is contained in:
@@ -161,10 +161,11 @@ function report_error(msg, stack, opts) {
|
||||
});
|
||||
|
||||
if (page_params.staging) {
|
||||
// Save the stacktrace so it can be examined even on local servers.
|
||||
// (N.B. This assumes you have set DEBUG = False on your local
|
||||
// server, or else this code path won't execute to begin with --
|
||||
// useful for testing (un)minification.)
|
||||
// Save the stacktrace so it can be examined even in
|
||||
// development servers. (N.B. This assumes you have set DEBUG
|
||||
// = False on your development server, or else this code path
|
||||
// won't execute to begin with -- useful for testing
|
||||
// (un)minification.)
|
||||
window.last_stacktrace = stack;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -17,7 +17,7 @@ var customer4_realms = [
|
||||
];
|
||||
var is_customer4 = _.contains(customer4_realms, page_params.domain);
|
||||
|
||||
// Local server-related flags
|
||||
// Enterprise-related flags
|
||||
exports.do_not_share_the_love = page_params.enterprise;
|
||||
|
||||
// Manually-flipped debugging flags
|
||||
|
||||
@@ -58,7 +58,7 @@ Usage: python manage.py create_realm --domain=foo.com --name='Foo, Inc.'"""
|
||||
self.print_help("python manage.py", "create_realm")
|
||||
exit(1)
|
||||
if options["deployment_id"] is not None and settings.ENTERPRISE:
|
||||
print >>sys.stderr, "\033[1;31mExternal deployments are not supported on local server deployments.\033[0m\n"
|
||||
print >>sys.stderr, "\033[1;31mExternal deployments are not supported on enterprise deployments.\033[0m\n"
|
||||
exit(1)
|
||||
|
||||
domain = options["domain"]
|
||||
|
||||
@@ -26,7 +26,7 @@ def create_streams(realms, realm, stream_list):
|
||||
bulk_create_streams(realms, stream_set)
|
||||
|
||||
class Command(BaseCommand):
|
||||
help = "Populate a local server database"
|
||||
help = "Populate an initial database for Zulip Enterprise"
|
||||
|
||||
option_list = BaseCommand.option_list + (
|
||||
make_option('--extra-users',
|
||||
|
||||
@@ -1,9 +1,5 @@
|
||||
ZILENCER -- The Zulip License Manager
|
||||
========
|
||||
|
||||
This app is the place for storing state about various deployments of Zulip that
|
||||
exist in the world.
|
||||
|
||||
Models for our centralized Zulip-the-company services like billing, local
|
||||
server tracking, etc. that should not be hosted by local server instances
|
||||
belong in this app.
|
||||
This app is the place for storing state about various deployments of
|
||||
Zulip that exist in the world.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Template for Django settings for the Zulip local servers
|
||||
# Template for Django settings for Zulip Enterprise
|
||||
|
||||
# This is the user-accessible Zulip hostname for this installation
|
||||
EXTERNAL_HOST = ''
|
||||
|
||||
@@ -85,7 +85,7 @@ urlpatterns = patterns('',
|
||||
url(r'^robots\.txt$', RedirectView.as_view(url='/static/robots.txt')),
|
||||
)
|
||||
|
||||
# These are used for localserver development. On a real localserver instance,
|
||||
# These are used for enterprise development. On a real enterprise instance,
|
||||
# these files would be served by nginx.
|
||||
if not settings.DEPLOYED and settings.LOCAL_UPLOADS_DIR is not None:
|
||||
urlpatterns += patterns('',
|
||||
|
||||
Reference in New Issue
Block a user