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
fe85223f
Commit
fe85223f
authored
Sep 02, 2014
by
Ben Patterson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "AWS settings for XBlocks to have filesystem-like storage"
parent
1abb8de2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
12 deletions
+0
-12
cms/envs/aws.py
+0
-6
lms/envs/aws.py
+0
-6
No files found.
cms/envs/aws.py
View file @
fe85223f
...
@@ -88,12 +88,6 @@ CELERY_QUEUES = {
...
@@ -88,12 +88,6 @@ CELERY_QUEUES = {
with
open
(
CONFIG_ROOT
/
CONFIG_PREFIX
+
"env.json"
)
as
env_file
:
with
open
(
CONFIG_ROOT
/
CONFIG_PREFIX
+
"env.json"
)
as
env_file
:
ENV_TOKENS
=
json
.
load
(
env_file
)
ENV_TOKENS
=
json
.
load
(
env_file
)
DJFS
=
{
'type'
:
's3fs'
,
'bucket'
:
ENV_TOKENS
.
get
(
'xblock-fs-storage-bucket'
,
None
),
'prefix'
:
ENV_TOKENS
.
get
(
'xblock-fs-storage-prefix'
,
''
)
}
# STATIC_URL_BASE specifies the base url to use for static files
# STATIC_URL_BASE specifies the base url to use for static files
STATIC_URL_BASE
=
ENV_TOKENS
.
get
(
'STATIC_URL_BASE'
,
None
)
STATIC_URL_BASE
=
ENV_TOKENS
.
get
(
'STATIC_URL_BASE'
,
None
)
if
STATIC_URL_BASE
:
if
STATIC_URL_BASE
:
...
...
lms/envs/aws.py
View file @
fe85223f
...
@@ -111,12 +111,6 @@ if os.environ.get('QUEUE') == 'high_mem':
...
@@ -111,12 +111,6 @@ if os.environ.get('QUEUE') == 'high_mem':
with
open
(
CONFIG_ROOT
/
CONFIG_PREFIX
+
"env.json"
)
as
env_file
:
with
open
(
CONFIG_ROOT
/
CONFIG_PREFIX
+
"env.json"
)
as
env_file
:
ENV_TOKENS
=
json
.
load
(
env_file
)
ENV_TOKENS
=
json
.
load
(
env_file
)
DJFS
=
{
'type'
:
's3fs'
,
'bucket'
:
ENV_TOKENS
.
get
(
'xblock-fs-storage-bucket'
,
None
),
'prefix'
:
ENV_TOKENS
.
get
(
'xblock-fs-storage-prefix'
,
''
)
}
# STATIC_ROOT specifies the directory where static files are
# STATIC_ROOT specifies the directory where static files are
# collected
# collected
STATIC_ROOT_BASE
=
ENV_TOKENS
.
get
(
'STATIC_ROOT_BASE'
,
None
)
STATIC_ROOT_BASE
=
ENV_TOKENS
.
get
(
'STATIC_ROOT_BASE'
,
None
)
...
...
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