CloudLaunch is a reusable Django app for discovering and launching applications on cloud, container, or local infrastructure. A live version is available at https://beta.launch.usegalaxy.org/.
This is an all-new version of Cloudlaunch that replaces the original BioCloudCentral launcher. Code for that version is available in the BioCloudCentral branch.
CloudLaunch is based on Python 3.5 and although it may work on older Python versions, 3.5 is the only supported version. Use of virtualenv is also highly advised.
- Checkout cloudlaunch and create environment
$ mkdir launcher && cd launcher
$ virtualenv -p python3.5 venv --prompt "(cloudlaunch)" && source venv/bin/activate
$ git clone -b dev https://github.com/galaxyproject/cloudlaunch.git
$ cd cloudlaunch
$ pip install -r requirements.txt
$ cd django-cloudlaunch
$ python manage.py migrate
$ python manage.py runserver
$ python manage.py createsuperuser
- Copy
cloudlaunch/settings_local.py.sample
tocloudlaunch/settings_local.py
and make any desired configuration changes. Make sure to change the value forFERNET_KEYS
variable because it is used to encrypt sensitive database fields. - Start the development server and celery task queue, each process in its own tab.
$ python manage.py runserver
$ celery -A cloudlaunch worker -l info
- Visit http://127.0.0.1:8000/admin/ to define your application and infrastructure properties.
- Visit http://127.0.0.1:8000/api/v1/ to explore the API.
You will probably also want to install the UI for the server. The default UI is available at https://github.com/galaxyproject/cloudlaunch-ui.