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-06-12 23:00:44 +0300
committerBernhard Posselt <dev@bernhard-posselt.com>2016-06-18 14:49:45 +0300
commitc8e6cab52d85b86cdc1016d6a134440a487b0cf5 (patch)
treea21eb5c3e9e054565601a55c5bbfab7d922943a4 /README.md
parent3dfe6a739137ef13741a2071672a21e294d1f058 (diff)
app upload
Diffstat (limited to 'README.md')
-rw-r--r--README.md11
1 files changed, 7 insertions, 4 deletions
diff --git a/README.md b/README.md
index e1609c8df5..8d099e598e 100644
--- a/README.md
+++ b/README.md
@@ -79,8 +79,8 @@ If you are running a development setup, you should also install the development
pip3 install -r requirements/development.txt
### Adjusting Default Settings
-To get your instance running in development or in production you need to create your local settings file in
-**nextcloudappstore/local\_settings.py** which overwrites and enhances the settings defined in
+To get your instance running in development or in production you need to create your local settings file in
+**nextcloudappstore/local\_settings.py** which overwrites and enhances the settings defined in
**nextcloudappstore/local\_settings.py**. The local settings file is excluded from version control.
For development paste in the following file contents:
@@ -191,8 +191,11 @@ RECAPTCHA_PRIVATE_KEY = '<YOUR PRIVATE KEY>'
# https://docs.djangoproject.com/en/1.9/ref/settings/#std:setting-EMAIL_HOST
EMAIL_HOST = 'localhost'
-# https://docs.djangoproject.com/en/1.9/ref/settings/#default-from-email
-DEFAULT_FROM_EMAIL = 'webmaster@localhost'
+
+# how many times a user is allowed to call the app upload route per day
+REST_FRAMEWORK['DEFAULT_THROTTLE_RATES'] = {
+ 'app_upload_or_delete': '20/day'
+}
```
For more information about web server setup, take a look at [the deployment documentation](https://docs.djangoproject.com/en/1.9/howto/deployment/)