Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
fa444ce0
Commit
fa444ce0
authored
Oct 15, 2014
by
Omar Al-Ithawi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
`edraak.py` and `edraak_dev.py` envs
parent
5c764c29
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
59 additions
and
0 deletions
+59
-0
lms/envs/edraak_aws.py
+13
-0
lms/envs/edraak_common.py
+44
-0
lms/envs/edraak_devstack.py
+2
-0
No files found.
lms/envs/edraak_aws.py
0 → 100644
View file @
fa444ce0
from
.aws
import
*
from
.edraak_common
import
*
SESSION_COOKIE_DOMAIN
=
".edraak.org"
LMS_BASE
=
"edraak.org"
STATIC_ROOT_BASE
=
"/edx/var/edxapp/staticfiles"
,
STATIC_URL_BASE
=
"https://d2q9s3qze1y77b.cloudfront.net/static/"
,
GRADES_DOWNLOAD
=
{
"BUCKET"
:
FILE_UPLOAD_STORAGE_BUCKET_NAME
,
"ROOT_PATH"
:
"edraak"
,
"STORAGE_TYPE"
:
"s3"
}
lms/envs/edraak_common.py
0 → 100644
View file @
fa444ce0
# -*- coding: utf-8 -*-
from
.aws
import
FEATURES
FEATURES
[
'ENABLE_DISCUSSION_HOME_PANEL'
]
=
False
FEATURES
[
'AUTH_USE_OPENID_PROVIDER'
]
=
True
FILE_UPLOAD_STORAGE_BUCKET_NAME
=
"edraak-grades"
LANGUAGE_CODE
=
"ar"
PLATFORM_NAME
=
u"إدراك"
SITE_NAME
=
"www.edraak.org"
TIME_ZONE
=
"Asia/Amman"
PLATFORM_FACEBOOK_ACCOUNT
=
"https://www.facebook.com/edraakorg"
PLATFORM_TWITTER_ACCOUNT
=
"@edraak"
FEEDBACK_SUBMISSION_EMAIL
=
"info@edraak.or"
PAYMENT_SUPPORT_EMAIL
=
"info@edraak.org"
SERVER_EMAIL
=
"dev@qrf.org"
PRESS_EMAIL
=
"syacoub@qrf.org"
CONTACT_EMAIL
=
"info@edraak.org"
COLLABORATE_EMAIL
=
"info@edraak.org"
TECH_SUPPORT_EMAIL
=
"dev@qrf.org"
UNIVERSITY_EMAIL
=
"info@edraak.org"
WIKI_ENABLED
=
False
LANGUAGES
=
(
(
"ar"
,
u"العربية"
),
(
"en"
,
"English"
)
)
REGISTRATION_EXTRA_FIELDS
=
{
"city"
:
"hidden"
,
"country"
:
"required"
,
"gender"
:
"required"
,
"goals"
:
"optional"
,
"honor_code"
:
"required"
,
"level_of_education"
:
"required"
,
"mailing_address"
:
"hidden"
,
"year_of_birth"
:
"required"
}
lms/envs/edraak_devstack.py
0 → 100644
View file @
fa444ce0
from
.devstack
import
*
from
.edraak_common
import
*
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment