forked from refinery-platform/refinery-platform
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' of github.com:parklab/refinery-platform into d…
…evelop
- Loading branch information
Showing
140 changed files
with
7,468 additions
and
6,143 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
language: python | ||
python: | ||
- 2.7 | ||
services: | ||
- postgresql | ||
install: | ||
- pip install -r requirements.txt | ||
env: | ||
- DJANGO_SETTINGS_MODULE=settings.dev | ||
before_script: | ||
- createuser --createdb --no-superuser --no-createrole vagrant | ||
- createdb -O vagrant refinery | ||
- cd refinery | ||
- cp config.json.sample config.json | ||
- python manage.py syncdb --migrate --noinput | ||
script: | ||
- python manage.py test analysis_manager | ||
- python manage.py test annotation_server | ||
- python manage.py test core | ||
- python manage.py test data_set_manager | ||
- python manage.py test file_server | ||
- python manage.py test file_store | ||
- python manage.py test galaxy_connector | ||
- python manage.py test visualization_manager | ||
- python manage.py test workflow_manager | ||
notifications: | ||
slack: | ||
secure: nDs9Oj08nRizuD0edl6WcrSgaTPMyITQjZc4qPZpt+yOxUehWbrAmVhqYypfyvdj4qSi1E72rPTXftuBB1E1IZBgX4CCkrCkWGLgIxHaaValTd64oOX66eC3BbSehQxuJB7w1DWw54xBUkTy6+ufjAqiwhLpoEUeE296urAWYHU= |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
# Refinery Platform [![Build Status](https://travis-ci.org/parklab/refinery-platform.svg?branch=develop)](https://travis-ci.org/parklab/refinery-platform) | ||
|
||
## Installing and Launching for Development | ||
|
||
### Prerequisites | ||
|
||
Install [Git][gi], [Vagrant][va] (1.7.2) and [Virtualbox][vb] (4.3.26). | ||
|
||
### Configure and Load Virtual Machine | ||
|
||
```bash | ||
$ git clone [email protected]:parklab/refinery-platform.git | ||
$ cd refinery-platform | ||
$ vagrant up | ||
``` | ||
|
||
The above step should take about 15 minutes depending on the speed of | ||
your machine and Internet connection. If you get an error, simply retry | ||
by: | ||
|
||
```bash | ||
$ vagrant provision | ||
``` | ||
|
||
Open <http://192.168.50.50:8000/> in your web browser. | ||
|
||
### Configure Deployment Environment on the Host | ||
|
||
Create a Python 2.7 virtual environment (optional but recommended, | ||
assumes virtualenvwrapper is installed, for example in Ubuntu: apt-get | ||
install virtualenvwrapper): | ||
|
||
```bash | ||
$ mkvirtualenv -a $(pwd) refinery-deployment | ||
``` | ||
|
||
Install Fabric (assumes header files for Python are installed, for | ||
example in Ubuntu: apt-get install python-dev): | ||
|
||
```bash | ||
$ pip install -r deployment/requirements.txt | ||
``` | ||
|
||
Use fabricrc.sample to update or initialize Fabric configuration, for | ||
example: | ||
|
||
```bash | ||
$ cp fabricrc.sample ~/.fabricrc | ||
``` | ||
|
||
To pull the latest code and update Refinery installation: | ||
|
||
```bash | ||
$ fab vm update | ||
``` | ||
|
||
### Refinery Operations on the VM | ||
|
||
Connect to the initialized VM: | ||
|
||
```bash | ||
$ vagrant ssh | ||
$ workon refinery-platform | ||
$ ./manage.py [command] | ||
``` | ||
|
||
Log in to Refinery (<http://192.168.50.50:8000/>) with the default guest | ||
user account (username: guest, password: guest). | ||
|
||
Log in to Django admin UI (<http://192.168.50.50:8000/admin/>) with the | ||
default superuser account (username: admin, password: refinery). | ||
|
||
Please see [installation notes] for more details, including information | ||
on how to configure Galaxy for this setup. | ||
|
||
## Troubleshooting | ||
|
||
- Refinery deployment requires a lot of external dependencies. You | ||
might have to run `vagrant provision` repeatedly to install all | ||
dependencies successfully. *Any errors* in the output of | ||
`vagrant provision` indicate that you have to re-run the command. | ||
- If you run into a build error in OS X when trying to install Fabric: | ||
`export C_INCLUDE_PATH=/usr/local/include` | ||
- If you have a VPN connection running, you may need to disconnect and | ||
reconnect before you can access the VM. In some cases you may have | ||
to reboot the host machine. | ||
|
||
[gi]: http://git-scm.com/ | ||
[va]: http://www.vagrantup.com/ | ||
[vb]: https://www.virtualbox.org/ | ||
[in]: https://refinery-platform.readthedocs.org/en/latest/administrator/setup.html |
This file was deleted.
Oops, something went wrong.
This file contains 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
This file contains 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
Oops, something went wrong.