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
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/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
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
# 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:~/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
vagrant@precise64:~$ sudo /edx/bin/update edx-platform ned/new-sass-munging | |
[WARNING]: It is unneccessary to use '{{' in loops, leave variables in loop | |
expressions bare. | |
PLAY [Deploy edxapp] ********************************************************** | |
GATHERING FACTS *************************************************************** | |
ok: [localhost] |
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 up | |
Bringing machine 'default' up with 'virtualbox' provider... | |
==> default: Fixed port collision for 22 => 2222. Now on port 2200. | |
==> default: Clearing any previously set network interfaces... | |
==> default: Preparing network interfaces based on configuration... | |
default: Adapter 1: nat | |
default: Adapter 2: hostonly | |
==> default: Forwarding ports... | |
default: 8000 => 8010 (adapter 1) | |
default: 8001 => 8011 (adapter 1) |
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
[db@mastodon:~] | |
% cd devstack | |
[db@mastodon:~/devstack] | |
% ls | |
Vagrantfile cs_comments_service edx-platform more ora themes | |
[db@mastodon:~/devstack] | |
% cat Vagrantfile | |
Vagrant.require_version ">= 1.5.3" | |
unless Vagrant.has_plugin?("vagrant-vbguest") | |
raise "Please install the vagrant-vbguest plugin by running `vagrant plugin install vagrant-vbguest`" |
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
[db@mastodon:~/devstack] | |
% ls | |
Vagrantfile | |
[db@mastodon:~/devstack] | |
% less Vagrantfile | |
[db@mastodon:~/devstack] | |
% vagrant up | |
Bringing machine 'default' up with 'virtualbox' provider... | |
==> default: Importing base box 'lavash-devstack'... | |
==> default: Matching MAC address for NAT networking... |