Update example settings
This commit is contained in:
parent
6191009bc9
commit
ea0520e681
@ -1,34 +1,94 @@
|
|||||||
dependencies:
|
dependencies:
|
||||||
- djangoldp_account
|
- djangoldp-i18n
|
||||||
- djangoldp_notification
|
- djangoldp-account
|
||||||
- django-webpush
|
- djangoldp-notification
|
||||||
|
- djangoldp-dashboard
|
||||||
|
- djangoldp-profile
|
||||||
|
- djangoldp-community
|
||||||
|
- djangoldp-joboffer
|
||||||
|
- djangoldp-event
|
||||||
|
- djangoldp-project
|
||||||
|
# - djangoldp-invoice
|
||||||
|
- djangoldp-contact
|
||||||
|
- djangoldp-circle
|
||||||
|
- djangoldp-conversation
|
||||||
|
- djangoldp-uploader
|
||||||
|
- djangoldp-skill
|
||||||
|
- corsheaders
|
||||||
|
|
||||||
ldppackages:
|
ldppackages:
|
||||||
- djangoldp_account
|
- djangoldp_i18n
|
||||||
- djangoldp_notification
|
- djangoldp_account
|
||||||
|
- djangoldp_notification
|
||||||
|
- djangoldp_dashboard
|
||||||
|
- djangoldp_profile
|
||||||
|
- djangoldp_community
|
||||||
|
- djangoldp_joboffer
|
||||||
|
- djangoldp_event
|
||||||
|
- djangoldp_project
|
||||||
|
# - djangoldp_invoice
|
||||||
|
- djangoldp_contact
|
||||||
|
- djangoldp_circle
|
||||||
|
- djangoldp_conversation
|
||||||
|
- djangoldp_uploader
|
||||||
|
- djangoldp_skill
|
||||||
|
- djangoldp_webpushnotification
|
||||||
|
|
||||||
server:
|
server:
|
||||||
DEBUG: true
|
|
||||||
ALLOWED_HOSTS:
|
|
||||||
- "*"
|
|
||||||
SECRET_KEY: "ak$t4x@9pcs$ypwt_m38)vcg^m=q@j7*2rs2gu7%h0wwcv)(y2"
|
SECRET_KEY: "ak$t4x@9pcs$ypwt_m38)vcg^m=q@j7*2rs2gu7%h0wwcv)(y2"
|
||||||
DATABASES:
|
ALLOWED_HOSTS:
|
||||||
default:
|
- http://localhost
|
||||||
ENGINE: django.db.backends.postgresql_psycopg2
|
- http://localhost:8000
|
||||||
NAME: djangoldp
|
- "*"
|
||||||
USER: postgres
|
BASE_URL: http://localhost:8000
|
||||||
LDP_RDF_CONTEXT: https://cdn.happy-dev.fr/owl/hdcontext.jsonld
|
SITE_URL: http://localhost:8000
|
||||||
|
DEBUG: True
|
||||||
|
|
||||||
|
EMAIL_BACKEND: django.core.mail.backends.console.EmailBackend
|
||||||
|
INSTANCE_DEFAULT_CLIENT: http://localhost:9000
|
||||||
|
DEFAULT_REQUEST_TIMEOUT: 120
|
||||||
|
DEFAULT_BACKOFF_FACTOR: 2
|
||||||
|
MAX_ACTIVITY_RESCHEDULES: 4
|
||||||
|
USE_I18N: True
|
||||||
|
|
||||||
|
MIDDLEWARE:
|
||||||
|
- 'corsheaders.middleware.CorsMiddleware'
|
||||||
|
|
||||||
|
CORS_ALLOWED_ORIGINS:
|
||||||
|
- "http://localhost:1234"
|
||||||
|
|
||||||
|
CORS_ALLOW_HEADERS:
|
||||||
|
- 'accept'
|
||||||
|
- 'accept-encoding'
|
||||||
|
- 'authorization'
|
||||||
|
- 'content-type'
|
||||||
|
- 'dnt'
|
||||||
|
- 'origin'
|
||||||
|
- 'user-agent'
|
||||||
|
- 'x-csrftoken'
|
||||||
|
- 'x-requested-with'
|
||||||
|
- 'dpop'
|
||||||
|
|
||||||
|
# defaults to SQLite if not provided
|
||||||
|
#DATABASES:
|
||||||
|
# default:
|
||||||
|
# ENGINE: django.db.backends.postgresql_psycopg2
|
||||||
|
# NAME: djangoldp
|
||||||
|
# USER: postgres
|
||||||
|
|
||||||
|
JABBER_DEFAULT_HOST: licoornes.startinblox.com
|
||||||
|
MEDIA_ROOT: media
|
||||||
|
PROSODY_HTTP_URL: https://jabber.happy-dev.fr
|
||||||
|
REGISTRATION_OPEN: true
|
||||||
ROOT_URLCONF: server.urls
|
ROOT_URLCONF: server.urls
|
||||||
STATIC_ROOT: static
|
STATIC_ROOT: static
|
||||||
# STATIC_URL: = '/static/'
|
|
||||||
# STATICFILES_DIRS: = '/Users/trav/Documents/gitnsurge/autonomic/startinblox/startinblox-startinoff'
|
|
||||||
MEDIA_ROOT: media
|
|
||||||
INSTALLED_APPS:
|
INSTALLED_APPS:
|
||||||
- server
|
- server
|
||||||
- djangoldp_crypto # only needed by decentral1se for #236
|
|
||||||
- webpush
|
EMAIL_ON_ACCOUNT_CREATION: True
|
||||||
|
DEFAULT_SUPERUSER_PERMS: []
|
||||||
|
OIDC_ACCESS_CONTROL_ALLOW_HEADERS: 'authorization, Content-Type, if-match, accept, sentry-trace, DPoP'
|
||||||
|
|
||||||
WEBPUSH_SETTINGS:
|
WEBPUSH_SETTINGS:
|
||||||
VAPID_PUBLIC_KEY: "BIDVJ0sd4Cyycf_aGCxhQ_SmXBneWboI3wGO-Iyj3ofeGkvYyNp5o6W9eTf13YkJSz6NlRwiCHA08m8e82n5WXI"
|
VAPID_ADMIN_EMAIL: "test@example.com"
|
||||||
VAPID_PRIVATE_KEY: "zQ-Apj3yLGvcq-l_YNFMFgNVBxQ5_JYEsUbZA36Yhes"
|
|
||||||
VAPID_ADMIN_EMAIL: "trav@teafry.me"
|
|
||||||
|
Loading…
Reference in New Issue
Block a user