Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/appstore.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2016-12-08 18:46:14 +0300
committerBernhard Posselt <dev@bernhard-posselt.com>2016-12-08 18:46:14 +0300
commit5cd58198ee0a97d133ae13f274cbd0512bb763fb (patch)
tree04e6f0a076b6c755d1b7ad3ec97e5bf720736a2e /scripts
parent5b0974e5f6f8dbd2a483d583b72ba87fa780afcd (diff)
cleanup
Diffstat (limited to 'scripts')
-rw-r--r--scripts/development/settings/base.py11
-rw-r--r--scripts/development/settings/postgres.py6
-rw-r--r--scripts/development/settings/sqlite.py0
3 files changed, 17 insertions, 0 deletions
diff --git a/scripts/development/settings/base.py b/scripts/development/settings/base.py
new file mode 100644
index 0000000000..b88e694792
--- /dev/null
+++ b/scripts/development/settings/base.py
@@ -0,0 +1,11 @@
+from nextcloudappstore.settings.base import *
+
+DEBUG = True
+SECRET_KEY = 'secret'
+EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
+RECAPTCHA_PUBLIC_KEY = '<RECAPTCHA_PUBLIC_KEY>'
+RECAPTCHA_PRIVATE_KEY = '<RECAPTCHA_PRIVATE_KEY>'
+EMAIL_HOST = 'localhost'
+DEFAULT_FROM_EMAIL = 'Appstore <appstore@nextcloud.com>'
+INSTALLED_APPS.append('debug_toolbar')
+MIDDLEWARE_CLASSES.append('debug_toolbar.middleware.DebugToolbarMiddleware')
diff --git a/scripts/development/settings/postgres.py b/scripts/development/settings/postgres.py
new file mode 100644
index 0000000000..0d01372c40
--- /dev/null
+++ b/scripts/development/settings/postgres.py
@@ -0,0 +1,6 @@
+DATABASES['default']['ENGINE'] = 'django.db.backends.postgresql'
+DATABASES['default']['NAME'] = 'nextcloudappstore'
+DATABASES['default']['USER'] = 'postgres'
+DATABASES['default']['PASSWORD'] = ''
+DATABASES['default']['PORT'] = '5432'
+DATABASES['default']['HOST'] = '127.0.0.1'
diff --git a/scripts/development/settings/sqlite.py b/scripts/development/settings/sqlite.py
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/scripts/development/settings/sqlite.py