This file contains hidden or 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
edxapp@precise64:~/edx-platform$ git reset --hard origin/ned/new-sass-munging | |
HEAD is now at 3e7699b Fix a few places that need $static-path | |
edxapp@precise64:~/edx-platform$ paver devstack lms | |
---> pavelib.servers.devstack | |
---> pavelib.prereqs.install_prereqs | |
---> pavelib.prereqs.install_ruby_prereqs | |
bundle install --quiet | |
---> pavelib.prereqs.install_node_prereqs | |
test `npm config get registry` = "http://registry.npmjs.org/" || (echo setting registry; npm config set registry http://registry.npmjs.org/) | |
npm install |
This file contains hidden or 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
# DON'T JUST ADD NEW DEPENDENCIES!!! | |
# | |
# If you open a pull request that adds a new dependency, you should notify: | |
# * @mollydb - to check licensing | |
# * [email protected] - to check system requirements | |
beautifulsoup4==4.1.3 | |
beautifulsoup==3.2.1 | |
bleach==1.4 | |
html5lib==0.999 |
This file contains hidden or 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
edxapp@precise64:/tmp$ virtualenv setuptools | |
New python executable in setuptools/bin/python | |
Installing setuptools, pip...done. | |
(setuptools)edxapp@precise64:/tmp$ pip install -U pip setuptools Cython | |
Downloading/unpacking pip from https://pypi.python.org/packages/py2.py3/p/pip/pip-7.1.0-py2.py3-none-any.whl#md5=b108384a762825ec20345bb9b5b7209f | |
Downloading pip-7.1.0-py2.py3-none-any.whl (1.1MB): 1.1MB downloaded | |
Downloading/unpacking setuptools from https://pypi.python.org/packages/3.4/s/setuptools/setuptools-18.0.1-py2.py3-none-any.whl#md5=19c0c145c3d2a615b0a33f0aeddd1c02 | |
Downloading setuptools-18.0.1-py2.py3-none-any.whl (461kB): 461kB downloaded | |
Downloading/unpacking Cython | |
Downloading Cython-0.22.1.tar.gz (1.6MB): 1.6MB downloaded |
This file contains hidden or 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
vagrant@precise64:/tmp$ curl -O https://raw.githubusercontent.com/edx/configuration/master/util/vagrant/migrate.sh | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 2735 100 2735 0 0 5452 0 --:--:-- --:--:-- --:--:-- 5984 | |
vagrant@precise64:/tmp$ chmod a+x migrate.sh | |
vagrant@precise64:/tmp$ ./migrate.sh -h | |
Attempts to migrate your Open edX installation to a different release. | |
-c CONFIGURATION | |
Use the given configuration. Either "devstack" or "fullstack". |
This file contains hidden or 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
git diff --numstat named-release/birch...named-release/cypress.rc | grep -Ev "(/vendor/)|(conf/locale)|(static/fonts)|(test/data/uploads)|^-" | wc -l |
This file contains hidden or 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
vagrant@precise64:/tmp$ curl -O https://raw.githubusercontent.com/edx/configuration/update-migration-script-cypress/util/vagrant/migrate.sh | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 2770 100 2770 0 0 15762 0 --:--:-- --:--:-- --:--:-- 20072 | |
vagrant@precise64:/tmp$ ./migrate.sh | |
Cloning into 'configuration'... | |
remote: Counting objects: 1206, done. | |
remote: Compressing objects: 100% (760/760), done. | |
remote: Total 1206 (delta 127), reused 886 (delta 69), pack-reused 0 | |
Receiving objects: 100% (1206/1206), 418.88 KiB | 0 bytes/s, done. |
This file contains hidden or 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
Jul 22 15:36:04 ip-192-168-0-193 [service_variant=lms][gunicorn.error][env:sandbox] ERROR [django-orm 9140] [glogging.py:219] - Error handling request | |
Traceback (most recent call last): | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/gunicorn/workers/sync.py", line 126, in handle_request | |
respiter = self.wsgi(environ, resp.start_response) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/handlers/wsgi.py", line 219, in __call__ | |
self.load_middleware() | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 51, in load_middleware | |
mw_instance = mw_class() | |
File "/edx/app/edxapp/edx-platform/common/djangoapps/django_locale/middleware.py", line 29, in __init__ | |
for url_pattern in get_resolver(None).url_patterns: |
This file contains hidden or 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
% vagrant ssh | |
Welcome to Ubuntu 12.04 LTS (GNU/Linux 3.2.0-23-generic x86_64) | |
* Documentation: https://help.ubuntu.com/ | |
New release '14.04.1 LTS' available. | |
Run 'do-release-upgrade' to upgrade to it. | |
******************************************************************* | |
* _ __ __ * | |
* _ _| |\ \/ / * |
This file contains hidden or 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
edxapp@precise64:~/edx-platform$ paver update_db | |
---> pavelib.servers.update_db | |
---> pavelib.prereqs.install_prereqs | |
---> pavelib.prereqs.install_ruby_prereqs | |
Ruby prereqs unchanged, skipping... | |
---> pavelib.prereqs.install_node_prereqs | |
Node prereqs unchanged, skipping... | |
---> pavelib.prereqs.install_python_prereqs | |
Python prereqs unchanged, skipping... | |
python manage.py lms --settings=devstack syncdb --migrate --traceback --pythonpath=. |
This file contains hidden or 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
edxapp@precise64:~/edx-platform$ ./manage.py lms --settings=devstack migrate course_overviews --merge | |
Running migrations for course_overviews: | |
! Migration course_overviews:0004_default_lowest_passing_grade_to_None should not have been applied before course_overviews:0004_auto__add_field_courseoverview_enrollment_start__add_field_courseoverv but was. | |
- Migrating forwards to 0004_default_lowest_passing_grade_to_None. | |
> course_overviews:0004_auto__add_field_courseoverview_enrollment_start__add_field_courseoverv | |
- Loading initial data for course_overviews. | |
Installed 0 object(s) from 0 fixture(s) | |
edxapp@precise64:~/edx-platform$ paver update_db | |
---> pavelib.servers.update_db | |
---> pavelib.prereqs.install_prereqs |