Additional dependencies have temporarily broken the BSD scripts. The only scripts that can setup the latest osra branches are the linux ones inlcuding the vagrant setups. See the TO DO section.
- Pick the script relevant for your operating system
- source the script
source name-of-script.sh
- sudo will ask you for your password to execute the sudo commands that run in the script. The sudo password is not stored by the script at any point.
- the script should install leaving you with a working osra environment
If you run into difficulty do not panick - go to the osra slack channel and ask for help!
Each operating system has to have different packages installed but the following packages are required in order to set up the osra environment.
If you do not want any of these packages installed on your system you will need to cherry pick from the script to suit your own needs.
- Bash if not already installed (needed for rvm and to source the script)
- sudo if not already installed
- curl if not already installed (needed to download rvm)
- postgresql
- rvm
- git
- node
- npm
- phantomjs
- qt4 (Dev)
- xvfb
For rvm to work it needs to run in a login shell. If you use a standard terminal emulator it is probably not set up to run as a login shell. The standard terminal emulator for gnome is the “Terminal” application. Follow the instructions below to make “Terminal” run as a login shell. If you are using a different terminal emulator refer to its documentation on how to do this.
- Open Terminal
- Select Edit -> Profile Preferences
- Go to the “Title and Command” tab
- select the “Run command as a login shell” checkbox
- click the close button
- shut down “Terminal” then relaunch it.
Vagrant files now exist for setting up a fully fledged osra enviroment by downloading the vagrant files and simpley issuing the `vagrant up` command. Of course to do this you need vagrant and its requirements installed on the machine. See our Wiki Page for more information.
See our TO DO tasks int the docs folder