Update README setup instructions to be correct. Make synapse spit out explanatory note when generating config to tell people to look at it and customise it.

This commit is contained in:
David Baker 2014-10-02 10:43:22 +01:00
parent d1adb19b8a
commit 7a322b6326
2 changed files with 8 additions and 5 deletions

View file

@ -123,6 +123,7 @@ class Config(object):
# style mode markers into the file, to hint to people that
# this is a YAML file.
yaml.dump(config, config_file, default_flow_style=False)
print "A config file has been generated in %s (your server name is '%s'). Please review this file and customise it to your needs." % (config_args.config_path, config['server_name'])
sys.exit(0)
return cls(args)