Skip to content
This repository was archived by the owner on Aug 1, 2024. It is now read-only.

Commit cba7cf2

Browse files
author
samir braga
committed
Updating README
1 parent c0096eb commit cba7cf2

3 files changed

Lines changed: 26 additions & 5 deletions

File tree

README.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,14 @@ a minimum of 2 CPUs and 6GB of memory works well.
8585
8686
export OPENEDX_RELEASE=ironwood.master
8787
export DEVSTACK_WORKSPACE=<devstack-folder-directory>
88+
export CUSTOM_DATA_FOLDER=<data-folder>
89+
90+
# 'Data folder' is the name of a directory (placed in $DEVSTACK_WORKSPACE)
91+
# with two subdirectories: 'edxapp' and 'themes', in
92+
# which the first must contain the 'lms.env.json',
93+
# 'lms.auth.json', 'cms.env.json' and 'cms.auth.json'
94+
# files, and the second must contain the
95+
# themes of platform created following the documentation.
8896
8997
2. Create development environment with Conda.
9098

docker-compose.yml

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -136,14 +136,15 @@ services:
136136
- "18130:18130"
137137

138138
lms:
139-
command: bash -c 'cp /edx/app/tmp/* /edx/app/edxapp/ && source /edx/app/edxapp/edxapp_env && while true; do python /edx/app/edxapp/edx-platform/manage.py lms runserver 0.0.0.0:18000 --settings devstack_docker; sleep 2; done'
139+
command: bash -c 'cp /edx/app/tmp/* /edx/app/edxapp/ && cp /edx/app/auth/* /edx/app/edxapp/edx-platform/common/djangoapps/third_party_auth/ && source /edx/app/edxapp/edxapp_env && while true; do python /edx/app/edxapp/edx-platform/manage.py lms runserver 0.0.0.0:18000 --settings devstack_docker; sleep 2; done'
140140
container_name: edx.devstack.lms
141141
hostname: lms.devstack.edx
142142
depends_on:
143143
- devpi
144144
- mysql
145145
- memcached
146146
- mongo
147+
- siaa_middleware
147148
# Allows attachment to the LMS service using 'docker attach <containerID>'.
148149
stdin_open: true
149150
tty: true
@@ -161,8 +162,9 @@ services:
161162
# - "18031:18031"
162163
volumes:
163164
- edxapp_lms_assets:/edx/var/edxapp/staticfiles/
164-
- ${DEVSTACK_WORKSPACE}/edx-platform/themes:/edx/app/edxapp/edx-platform/themes
165-
- ${DEVSTACK_WORKSPACE}/edxapp:/edx/app/tmp/
165+
- ${DEVSTACK_WORKSPACE}/${CUSTOM_DATA_FOLDER}/themes:/edx/app/edxapp/edx-platform/themes
166+
- ${DEVSTACK_WORKSPACE}/${CUSTOM_DATA_FOLDER}/edxapp:/edx/app/tmp/
167+
- ${DEVSTACK_WORKSPACE}/${CUSTOM_DATA_FOLDER}/siaa-oauth:/edx/app/auth/
166168

167169
edx_notes_api:
168170
command: bash -c 'source /edx/app/edx_notes_api/edx_notes_api_env && while true; do python /edx/app/edx_notes_api/edx_notes_api/manage.py runserver 0.0.0.0:18120 --settings notesserver.settings.devstack; sleep 2; done'
@@ -242,7 +244,18 @@ services:
242244
- "1994:1994"
243245
environment:
244246
- NODE_ENV=development
245-
247+
248+
siaa_middleware:
249+
command: bash -c 'npm install && npm start'
250+
working_dir: '/home/node'
251+
container_name: edx.devstack.siaa_middleware
252+
image: node:slim
253+
ports:
254+
- "3213:3000"
255+
volumes:
256+
- ${DEVSTACK_WORKSPACE}/${CUSTOM_DATA_FOLDER}/siaa-middleware:/home/node
257+
- /home/node/node_modules
258+
246259
volumes:
247260
discovery_assets:
248261
edxapp_lms_assets:

repo.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ repos=(
3030
"https://github.com/edx/ecommerce.git"
3131
"https://github.com/edx/edx-e2e-tests.git"
3232
"https://github.com/edx/edx-notes-api.git"
33-
"https://github.com/edx/edx-platform.git"
33+
"https://github.com/InsightLab/edx-platform-insight"
3434
"https://github.com/edx/xqueue.git"
3535
"https://github.com/edx/edx-analytics-pipeline.git"
3636
"https://github.com/edx/gradebook.git"

0 commit comments

Comments
 (0)