CloudLaunch is a ReSTful, extensible Django app for discovering and launching applications on cloud, container, or local infrastructure
Project description
CloudLaunch
CloudLaunch is a ReSTful, extensible Django app for discovering and launching applications on cloud, container, or local infrastructure. A live version is available at https://beta.launch.usegalaxy.org/.
CloudLaunch can be extended with your own plug-ins which can provide custom launch logic for arbitrary custom applications. Visit the live site to see currently available applications in the Catalog. CloudLaunch is also tightly integrated with CloudBridge, which makes CloudLaunch natively multi-cloud.
CloudLaunch has a web and commandline front-end. The Web UI is maintained in the CloudLaunch-UI repository. The commandline client is maintained in the cloudlaunch-cli repository.
This is an all-new version of CloudLaunch that replaces the original BioCloudCentral launcher. Code for that version is available in the BioCloudCentral branch.
Install Production Version
Install the cloudlaunch django server
$ pip install cloudlaunch-server
Once installed, You can run django admin commands as follows:
$ cloudlaunch-server django
Copy cloudlaunchserver/settings_local.py.sample to cloudlaunchserver/settings_local.py and make any desired configuration changes. Make sure to change the value for FERNET_KEYS variable because it is used to encrypt sensitive database fields.
Prepare the database with:
$ cloudlaunch-server django migrate
$ cloudlaunch-server django createsuperuser
$ cloudlaunch-server django runserver
Start the development server and celery task queue (along with a Redis server as the message broker), each process in its own tab.
$ python manage.py runserver
$ redis-server & celery -A cloudlaunchserver worker -l info --beat
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.
Install Development Version
CloudLaunch is based on Python 3.6 and although it may work on older Python versions, 3.6 is the only supported version. Use of virtualenv is also highly advised.
Checkout cloudlaunch and create environment
$ mkdir launcher && cd launcher
$ virtualenv venv -p python3.6 --prompt "(cloudlaunch)" && source venv/bin/activate
$ git clone -b dev https://github.com/galaxyproject/cloudlaunch.git
$ cd cloudlaunch
$ python setup.py develop
$ cd django-cloudlaunch
$ python manage.py migrate
$ python manage.py runserver
$ python manage.py createsuperuser
Follow step 2 onwards from the production instructions above
History
2.0.0 (2017-01-28)
First release of the rewritten CloudLaunch on PyPI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file cloudlaunch-server-2.0.2.tar.gz
.
File metadata
- Download URL: cloudlaunch-server-2.0.2.tar.gz
- Upload date:
- Size: 27.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5afee3f7a704cd4fa42d64e94ae0b8156a0207e51b1b544f121ec904112658b9 |
|
MD5 | 8b96e92a79e4d202a6278695bfbcc4c1 |
|
BLAKE2b-256 | d691557b77037234098e94b97602eb9714f174318a4510116aa2faed19ade98e |
File details
Details for the file cloudlaunch_server-2.0.2-py3-none-any.whl
.
File metadata
- Download URL: cloudlaunch_server-2.0.2-py3-none-any.whl
- Upload date:
- Size: 41.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4bbb40f1a17be87bd06cff0f9229d1daced043a32fd2a102571b54b218cdafdc |
|
MD5 | 7f2e84175475bd004b8be978bd675f0a |
|
BLAKE2b-256 | 0e5fabeac4c2657ccd06eb93a9a09becd2ab99ed572ac5928270b27fec7706dd |