OLD | NEW |
---|---|
1 #!/bin/bash | 1 #!/bin/bash |
2 | 2 |
3 # Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 3 # Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
4 # for details. All rights reserved. Use of this source code is governed by a | 4 # for details. All rights reserved. Use of this source code is governed by a |
5 # BSD-style license that can be found in the LICENSE file. | 5 # BSD-style license that can be found in the LICENSE file. |
6 | 6 |
7 # Run to install the necessary components to run webdriver on the buildbots. | 7 # Run to install the necessary components to run webdriver on the buildbots or |
8 # on your local machine. | |
8 # NOTE: YOU WILL NEED TO RUN THIS SCRIPT AS ROOT IN ORDER FOR IT TO SUCCESSFULLY | 9 # NOTE: YOU WILL NEED TO RUN THIS SCRIPT AS ROOT IN ORDER FOR IT TO SUCCESSFULLY |
9 # INSTALL COMPONENTS. | 10 # INSTALL COMPONENTS. |
10 | 11 |
11 curl http://python-distribute.org/distribute_setup.py | sudo python | 12 curl http://python-distribute.org/distribute_setup.py | sudo python |
12 curl https://raw.github.com/pypa/pip/master/contrib/get-pip.py | sudo python | 13 curl https://raw.github.com/pypa/pip/master/contrib/get-pip.py | sudo python |
13 pip install -U selenium | 14 pip install -U selenium |
14 wget -O - http://releases.mozilla.org/pub/mozilla.org/firefox/releases/8.0.1/lin ux-x86_64/en-US/firefox-8.0.1.tar.bz2 | tar -C ~ -jxv | 15 curl http://selenium.googlecode.com/files/selenium-server-standalone-2.15.0.jar > selenium-server-standalone-2.15.0.jar |
Jennifer Messerly
2012/02/28 16:56:56
perhaps curl -o? e.g.
curl -o selenium-server-stan
| |
16 wget -O - http://releases.mozilla.org/pub/mozilla.org/firefox/releases/latest/li nux-x86_64/en-US/firefox-10.0.2.tar.bz2 | tar -C ~ -jxv | |
Jennifer Messerly
2012/02/28 16:56:56
this could probably be curl too, for consistency.
| |
OLD | NEW |