Skip to content

Instantly share code, notes, and snippets.

View pwilkins's full-sized avatar

Peter Wilkins pwilkins

View GitHub Profile

Keybase proof

I hereby claim:

  • I am pwilkins on github.
  • I am pwilkins (https://keybase.io/pwilkins) on keybase.
  • I have a public key whose fingerprint is 46C1 069C EE25 D3DC 2B30 B856 742C 8538 4C4A 72D2

To claim this, I am signing this object:

"""
This config file runs the simplest dev environment using sqlite, and db-based
sessions. Assumes structure:
/envroot/
/db # This is where it'll write the database file
/edx-platform # The location of this repo
/log # Where we're going to write log files
"""
@pwilkins
pwilkins / out.log
Created September 16, 2015 20:52
``docker build`` console output
stats uses an image, skipping
elastic uses an image, skipping
redis uses an image, skipping
db uses an image, skipping
Building web...
Step 0 : FROM ubuntu:trusty
---> 91e54dfb1179
Step 1 : MAINTAINER ODL DevOps <mitx-devops@mit.edu>
---> Using cache
---> 4992bcaae973
FROM ubuntu:trusty
MAINTAINER ODL DevOps <mitx-devops@mit.edu>
# Add package files
ADD requirements.txt /tmp/requirements.txt
ADD test_requirements.txt /tmp/test_requirements.txt
ADD apt.txt /tmp/apt.txt
WORKDIR /tmp
+ set -e
+ PROG=update
+ getopts vh opt
+ [[ -f /edx/app/edx_ansible/server-vars.yml ]]
+ extra_args=' -e '\''disable_edx_services=true'\'''
+ declare -A repos_to_cmd
+ edx_ansible_cmd='/edx/app/edx_ansible/venvs/edx_ansible/bin/ansible-playbook -i localhost, -c local --tags deploy -e '\''disable_edx_services=true'\'' '
+ repos_to_cmd["edx-platform"]='/edx/app/edx_ansible/venvs/edx_ansible/bin/ansible-playbook -i localhost, -c local --tags deploy -e '\''disable_edx_services=true'\'' edxapp.yml -e '\''edx_platform_version=error_message_student_notfound_ccx_coach_dashboard'\'''
+ repos_to_cmd["xqueue"]='/edx/app/edx_ansible/venvs/edx_ansible/bin/ansible-playbook -i localhost, -c local --tags deploy -e '\''disable_edx_services=true'\'' xqueue.yml -e '\''xqueue_version=error_message_student_notfound_ccx_coach_dashboard'\'''
+ repos_to_cmd["cs_comments_service"]='/edx/app/edx_ansible/venvs/edx_ansible/bin/ansible-playbook -i localhost, -c local --tags deploy -e '\''disable_edx_services=true'\'' forum.yml -e
EDXAPP_FEATURES:
AUTH_USE_OPENID_PROVIDER: true
CERTIFICATES_ENABLED: true
ENABLE_DISCUSSION_SERVICE: true
ENABLE_INSTRUCTOR_ANALYTICS: false
SUBDOMAIN_BRANDING: false
SUBDOMAIN_COURSE_LISTINGS: false
PREVIEW_LMS_BASE: "preview.localhost"
ENABLE_S3_GRADE_DOWNLOADS: true
ENABLE_VIDEO_UPLOAD_PIPELINE: false
edxapp@precise64:~/edx-platform$ cat ../lms.env.json
{
"ANALYTICS_DASHBOARD_URL": "http://localhost:18110/courses",
"ANALYTICS_DATA_URL": "",
"ANALYTICS_SERVER_URL": "",
"BOOK_URL": "",
"BUGS_EMAIL": "bugs@example.com",
[user]
name = pwilkins
email = pwilkins@mit.edu
[color]
ui = true
[push]
default = simple
[core]
autocrlf = input
excludesfile = /Users/pwilkins/.gitignore_global
(pylmod)Felix2:PyLmod pwilkins$ git log
commit 47a5d522dc01655e8b8aeea727e3efd48331d691
Merge: 5df8892 0dcf0f3
Author: pwilkins <pwilkins@mit.edu>
Date: Tue Mar 24 16:13:34 2015 -0400
removed extraneous text - "service."
commit 5df88923bf5af9aa8eca09b4d33b9967ec6bcdb7
Author: pwilkins <pwilkins@mit.edu>
from .devstack import * # pylint: disable=wildcard-import, unused-wildcard-import
FEATURES['ENABLE_SYSADMIN_DASHBOARD'] = True
##### Custom Courses for EdX #####
FEATURES['CUSTOM_COURSES_EDX'] = True
if FEATURES.get('CUSTOM_COURSES_EDX'):
INSTALLED_APPS += ('ccx',)
FIELD_OVERRIDE_PROVIDERS += (
'ccx.overrides.CustomCoursesForEdxOverrideProvider',