2017-07-12 15:52:59 +02:00
|
|
|
# Add application configuration variables here, as shown below.
|
|
|
|
|
2019-10-02 16:06:27 +02:00
|
|
|
# Databases
|
2017-07-12 15:52:59 +02:00
|
|
|
POSTGRES_HOST: localhost
|
|
|
|
POSTGRES_PASSWORD:
|
|
|
|
REDIS_HOST: localhost
|
|
|
|
ELASTICSEARCH_HOST: localhost
|
|
|
|
|
2019-10-02 16:06:27 +02:00
|
|
|
# Stripe
|
2017-07-12 15:52:59 +02:00
|
|
|
SECRET_KEY_BASE: 83daf5e7b80d990f037407bab78dff9904aaf3c195a50f84fa8695a22287e707dfbd9524b403b1dcf116ae1d8c06844c3d7ed942564e5b46be6ae3ead93a9d30
|
|
|
|
STRIPE_API_KEY:
|
|
|
|
STRIPE_PUBLISHABLE_KEY:
|
|
|
|
STRIPE_CURRENCY: 'eur'
|
|
|
|
|
2019-10-02 16:06:27 +02:00
|
|
|
# Invoices
|
2017-07-12 15:52:59 +02:00
|
|
|
INVOICE_PREFIX: Demo-FabLab-facture
|
2019-10-02 16:06:27 +02:00
|
|
|
|
|
|
|
# FabLab optional modules
|
2017-07-12 15:52:59 +02:00
|
|
|
FABLAB_WITHOUT_PLANS: 'false'
|
|
|
|
FABLAB_WITHOUT_SPACES: 'true'
|
2019-09-11 17:08:00 +02:00
|
|
|
FABLAB_WITHOUT_ONLINE_PAYMENT: 'false'
|
2019-09-30 15:29:10 +02:00
|
|
|
FABLAB_WITHOUT_INVOICES: 'false'
|
2019-11-19 11:44:32 +01:00
|
|
|
PHONE_REQUIRED: 'true'
|
2017-07-12 15:52:59 +02:00
|
|
|
|
2020-01-07 10:34:12 +01:00
|
|
|
USER_CONFIRMATION_NEEDED_TO_SIGN_IN: 'false'
|
2019-12-30 09:29:45 +01:00
|
|
|
|
2019-11-25 14:49:39 +01:00
|
|
|
EVENTS_IN_CALENDAR: 'false'
|
2019-10-29 16:52:52 +01:00
|
|
|
SLOT_DURATION: '60'
|
|
|
|
|
2017-07-12 15:52:59 +02:00
|
|
|
DEFAULT_MAIL_FROM: Fab Manager Demo <noreply@fab-manager.com>
|
|
|
|
|
2019-10-02 16:06:27 +02:00
|
|
|
# Configure carefully!
|
2019-10-02 14:37:47 +02:00
|
|
|
DEFAULT_HOST: 'localhost:5000'
|
|
|
|
DEFAULT_PROTOCOL: http
|
2019-10-02 16:06:27 +02:00
|
|
|
|
|
|
|
# Email config
|
2017-07-12 15:52:59 +02:00
|
|
|
DELIVERY_METHOD: smtp
|
|
|
|
SMTP_ADDRESS:
|
|
|
|
SMTP_PORT: '587'
|
|
|
|
SMTP_USER_NAME:
|
|
|
|
SMTP_PASSWORD:
|
2018-10-04 12:02:16 +02:00
|
|
|
SMTP_AUTHENTICATION: 'plain'
|
|
|
|
SMTP_ENABLE_STARTTLS_AUTO: 'true'
|
|
|
|
SMTP_OPENSSL_VERIFY_MODE: ''
|
2019-10-21 11:42:01 +02:00
|
|
|
SMTP_TLS: 'false'
|
2019-10-02 16:06:27 +02:00
|
|
|
|
|
|
|
# Google analytics
|
2017-07-12 15:52:59 +02:00
|
|
|
GA_ID: ''
|
2019-10-02 16:06:27 +02:00
|
|
|
|
|
|
|
# Google recaptcha
|
2019-09-23 17:46:46 +02:00
|
|
|
RECAPTCHA_SITE_KEY: ''
|
|
|
|
RECAPTCHA_SECRET_KEY: ''
|
2017-07-12 15:52:59 +02:00
|
|
|
|
2019-10-02 16:06:27 +02:00
|
|
|
# Projects comments
|
2017-07-12 15:52:59 +02:00
|
|
|
DISQUS_SHORTNAME:
|
|
|
|
|
2020-01-15 12:34:51 +01:00
|
|
|
# Twitter sharing
|
2017-07-12 15:52:59 +02:00
|
|
|
TWITTER_NAME: 'FablabGrenoble'
|
|
|
|
|
2019-10-02 16:06:27 +02:00
|
|
|
# Facebook sharing
|
2017-07-12 15:52:59 +02:00
|
|
|
FACEBOOK_APP_ID: ''
|
|
|
|
|
2019-10-02 16:06:27 +02:00
|
|
|
# I18N configuration
|
2017-07-12 15:52:59 +02:00
|
|
|
RAILS_LOCALE: 'fr'
|
|
|
|
APP_LOCALE: 'fr'
|
|
|
|
MOMENT_LOCALE: 'fr'
|
|
|
|
SUMMERNOTE_LOCALE: 'fr-FR'
|
|
|
|
ANGULAR_LOCALE: 'fr-fr'
|
|
|
|
MESSAGEFORMAT_LOCALE: 'fr'
|
|
|
|
FULLCALENDAR_LOCALE: 'fr'
|
|
|
|
|
|
|
|
ELASTICSEARCH_LANGUAGE_ANALYZER: 'french'
|
|
|
|
|
|
|
|
TIME_ZONE: 'Paris'
|
|
|
|
WEEK_STARTING_DAY: 'monday'
|
|
|
|
D3_DATE_FORMAT: '%d/%m/%y'
|
|
|
|
UIB_DATE_FORMAT: 'dd/MM/yyyy'
|
|
|
|
EXCEL_DATE_FORMAT: 'dd/mm/yyyy'
|
|
|
|
|
2019-10-22 14:41:49 +02:00
|
|
|
# OpenLab Projects
|
2017-07-12 15:52:59 +02:00
|
|
|
OPENLAB_APP_SECRET:
|
|
|
|
OPENLAB_APP_ID:
|
2019-10-22 14:41:49 +02:00
|
|
|
OPENLAB_DEFAULT: 'true'
|
2019-10-02 16:06:27 +02:00
|
|
|
# do not change this URL
|
2017-07-12 15:52:59 +02:00
|
|
|
OPENLAB_BASE_URI: 'https://openprojects.fab-manager.com'
|
|
|
|
|
2019-10-02 16:06:27 +02:00
|
|
|
# System settings
|
2017-07-12 15:52:59 +02:00
|
|
|
LOG_LEVEL: 'debug'
|
2019-02-26 15:18:19 +01:00
|
|
|
DISK_SPACE_MB_ALERT: '100'
|
2019-03-20 16:49:38 +01:00
|
|
|
SUPERADMIN_EMAIL: 'admin@sleede.com'
|
2017-07-12 15:52:59 +02:00
|
|
|
|
2019-11-25 16:12:23 +01:00
|
|
|
ALLOWED_EXTENSIONS: pdf ai eps cad math svg stl dxf dwg obj step iges igs 3dm 3dmf doc docx png ino scad fcad skp sldprt sldasm slddrw slddrt tex latex ps fcstd fcstd1
|
2019-12-24 10:07:06 +01:00
|
|
|
ALLOWED_MIME_TYPES: application/pdf application/postscript application/illustrator image/x-eps image/svg+xml application/sla application/dxf application/acad application/dwg application/octet-stream application/step application/iges model/iges x-world/x-3dmf application/vnd.openxmlformats-officedocument.wordprocessingml.document image/png text/x-arduino text/plain application/scad application/vnd.sketchup.skp application/x-koan application/vnd-koan koan/x-skm application/vnd.koan application/x-tex application/x-latex application/x-extension-fcstd
|
2017-07-12 15:52:59 +02:00
|
|
|
|
2019-09-24 17:42:50 +02:00
|
|
|
# 5242880 = 5 megabytes
|
|
|
|
MAX_IMPORT_SIZE: '5242880'
|
2017-07-12 15:52:59 +02:00
|
|
|
# 10485760 = 10 megabytes
|
|
|
|
MAX_IMAGE_SIZE: '10485760'
|
2019-09-24 16:38:16 +02:00
|
|
|
# 20971520 = 20 megabytes
|
|
|
|
MAX_CAO_SIZE: '20971520'
|