aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2015-08-04 10:11:24 +0300
committerFilipp Lepalaan <filipp@mac.com>2015-08-04 10:11:24 +0300
commit63b0fc6269b38edf7234b9f151b80d81f614c0a3 (patch)
tree555de3068f33f8dddb4619349bbea7d9b7c822fd /README.md
downloadServo-63b0fc6269b38edf7234b9f151b80d81f614c0a3.tar.gz
Servo-63b0fc6269b38edf7234b9f151b80d81f614c0a3.tar.bz2
Servo-63b0fc6269b38edf7234b9f151b80d81f614c0a3.zip
Initial commit
First public commit
Diffstat (limited to 'README.md')
-rw-r--r--README.md52
1 files changed, 52 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..fb78b7b
--- /dev/null
+++ b/README.md
@@ -0,0 +1,52 @@
+Installation
+============
+
+Install PostgreSQL, nginx, memcached, rabbitMQ. Then install the necessary Python packages:
+
+ $ pip install -U -r requirements.pip
+
+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
+
+ 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)
+
+For testing, you can run Servo without any extra setup:
+
+ cd my_servo_folder
+ python ./manage.py runserver