diff options
author | Filipp Lepalaan <filipp@mac.com> | 2015-10-09 09:29:17 +0300 |
---|---|---|
committer | Filipp Lepalaan <filipp@mac.com> | 2015-10-09 09:29:17 +0300 |
commit | bfd17aa15d422a3188f24ce37cdf78af319e5384 (patch) | |
tree | 030874e6eb755b2cb7a8b4f75bc756d209e6c85a /README.md | |
parent | 26227527adc81d82bbfe80b42c2838bfd04dd4bc (diff) | |
download | Servo-bfd17aa15d422a3188f24ce37cdf78af319e5384.tar.gz Servo-bfd17aa15d422a3188f24ce37cdf78af319e5384.tar.bz2 Servo-bfd17aa15d422a3188f24ce37cdf78af319e5384.zip |
install.py fixes
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 44 |
1 files changed, 2 insertions, 42 deletions
@@ -42,49 +42,9 @@ Then clone the code: $ cd my_servo_folder $ pip install -U -r requirements.pip +Next, run the installation script: -Configuration -============= -Edit local_settings.py (these are settings specific to your installation): - - import logging - logging.basicConfig(level=logging.DEBUG) - - DATABASES = { - 'default': { - 'ENGINE': 'django.db.backends.postgresql_psycopg2', - 'NAME': 'MyServoDatabase', - 'USER': 'MyServoDatabaseUser', - 'PASSWORD': 'MyServoDatabasePassword', - 'HOST': 'localhost', - 'PORT': '', - } - } - - SECRET_KEY = 'MySuperSecretEncryptionKey' - TIME_ZONE = 'Europe/Helsinki' - - CACHES = { - 'default': { - 'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache', - 'LOCATION': '127.0.0.1:11211', - 'TIMEOUT': 60*20, - 'KEY_PREFIX': 'servo_' # change this if you have other memcache caches running - } - } - - DEBUG = True - - INSTALL_ID = '11' # Service orders will be prefixed with this code - INSTALL_COUNTRY = 'SE' # Default setting for country - INSTALL_LOCALE = 'sv_SE.UTF-8' # Default setting for locale - INSTALL_LANGUAGE = 'se' # Default setting for language - - SERVO_URL = 'http://123.123.123.123' # External IP for SMS delivery reports (if your SMS provider supports them) - - ENABLE_RULES = True # Whether or not you want to run rules - - TIMEZONE = 'Europe/Helsinki' # Default timezone of this installation (user can choose their own in preferences) + $ ./install.py For testing, you can run Servo without any extra setup: |