-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
364 additions
and
154 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
HTTPS=off | ||
DEBUG=true | ||
|
||
# This is not the real key used in prod | ||
SECRET_KEY=(4sjxvhz@m5$0a$j0_pqicnc$s!vbve)z+&++m%g%bjhlz4+g2 | ||
|
||
DATABASE_URL=sqlite:///db.sqlite3 | ||
# uncomment the next line if you want to use a postgres database | ||
#DATABASE_URL=postgres://user:[email protected]:5432/sith | ||
CACHE_URL=redis://127.0.0.1:6379/0 | ||
|
||
MEDIA_ROOT=data | ||
STATIC_ROOT=static | ||
|
||
DEFAULT_FROM_EMAIL=[email protected] | ||
SITH_COM_EMAIL=[email protected] | ||
|
||
HONEYPOT_VALUE=content | ||
HONEYPOT_FIELD_NAME=body2 | ||
HONEYPOT_FIELD_NAME_FORUM=message2 | ||
|
||
EMAIL_BACKEND=django.core.mail.backends.console.EmailBackend | ||
EMAIL_HOST=localhost | ||
EMAIL_PORT=25 | ||
|
||
SITH_URL=127.0.0.1:8000 | ||
SITH_NAME="AE UTBM" | ||
|
||
SITH_MAIN_CLUB_ID=1 | ||
|
||
SITH_GROUP_ROOT_ID=1 | ||
SITH_GROUP_PUBLIC_ID=2 | ||
SITH_GROUP_SUBSCRIBERS_ID=3 | ||
SITH_GROUP_OLD_SUBSCRIBERS_ID=4 | ||
SITH_GROUP_ACCOUNTING_ADMIN_ID=5 | ||
SITH_GROUP_COM_ADMIN_ID=6 | ||
SITH_GROUP_COUNTER_ADMIN_ID=7 | ||
SITH_GROUP_BANNED_ALCOHOL_ID=8 | ||
SITH_GROUP_BANNED_COUNTER_ID=9 | ||
SITH_GROUP_BANNED_SUBSCRIPTION_ID=10 | ||
SITH_GROUP_SAS_ADMIN_ID=11 | ||
SITH_GROUP_FORUM_ADMIN_ID=12 | ||
SITH_GROUP_PEDAGOGY_ADMIN_ID=13 | ||
|
||
SITH_CLUB_REFOUND_ID=89 | ||
SITH_COUNTER_REFOUND_ID=38 | ||
SITH_PRODUCT_REFOUND_ID=5 | ||
|
||
# Counter | ||
|
||
SITH_COUNTER_ACCOUNT_DUMP_ID=39 | ||
|
||
# Defines which product type is the refilling type, and thus increases the account amount | ||
SITH_COUNTER_PRODUCTTYPE_REFILLING=3 | ||
|
||
SITH_ECOCUP_CONS=1152 | ||
SITH_ECOCUP_DECO=1151 | ||
|
||
# Defines which product is the one year subscription and which one is the six month subscription | ||
SITH_PRODUCT_SUBSCRIPTION_ONE_SEMESTER=1 | ||
SITH_PRODUCT_SUBSCRIPTION_TWO_SEMESTERS=2 | ||
SITH_PRODUCTTYPE_SUBSCRIPTION=2 | ||
|
||
# Defines which clubs let its members the ability to see users subscription history | ||
SITH_CAN_CREATE_SUBSCRIPTION_HISTORY=1 | ||
SITH_CAN_READ_SUBSCRIPTION_HISTORY=1 | ||
|
||
# SAS variables | ||
SITH_SAS_ROOT_DIR_ID=4 | ||
|
||
# ET variables | ||
SITH_EBOUTIC_CB_ENABLED=true | ||
SITH_EBOUTIC_ET_URL="https://preprod-tpeweb.e-transactions.fr/cgi/MYchoix_pagepaiement.cgi" | ||
SITH_EBOUTIC_PBX_SITE=1999888 | ||
SITH_EBOUTIC_PBX_RANG=32 | ||
SITH_EBOUTIC_PBX_IDENTIFIANT=2 | ||
SITH_EBOUTIC_HMAC_KEY=0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF | ||
SITH_EBOUTIC_PUB_KEY_PATH=sith/et_keys/pubkey.pem | ||
|
||
SITH_MAILING_FETCH_KEY=IloveMails | ||
SENTRY_DSN= | ||
SENTRY_ENV=production |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,3 +21,4 @@ node_modules/ | |
|
||
# compiled documentation | ||
site/ | ||
.env |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.