Most Powerful Open Source ERP

How to Become a Cloud Provider and Start Doing Business

This lecture provides a complete introduction to SlapOS.
  • Last Update:2014-05-07
  • Version:002
  • Language:en

How to Become a Cloud Provider

Level: Undergraduate / Graduate Duration: 3 hours
Technical requirements: IPv6 Internet connection with standard compliant webbrowser Contributors: Cédric Le Ninivin, Luke Nowak, Jean-Paul Smets, Rafael Monnerat, Vivien Alger, Cedric de Saint Martin, Yingjie Xu



Day 1: Installing and Using SlapOS

The purpose of this day is to install a SlapOS slave node, connect it to a SlapOS Master and request, as an example, two instances of the same application. Then, a SlapOS Web Runner will be installed to allow development of new components.

The agenda is:

VM links:

Day 2: Creating Recipes with SlapOS Cookbook

For those tutorials, you will need to request a slaprunner instance on slapos.org.

How to port an application to SlapOS using pre-existing stack like PHP:

  • Install SlapOS Client
  • Request and instantiate WebRunner
    slapos supply http://git.erp5.org/gitweb/slapos.git/blob_plain/refs/heads/runner-telecom:/software/slaprunner/software.cfg COMP-1234
    slapos request myrunner http://git.erp5.org/gitweb/slapos.git/blob_plain/refs/heads/runner-telecom:/software/slaprunner/software.cfg
  • Theory: SlapOS Request Method (Presentation)
  • How to use SlapOS Web Runner (Presentation)
  • Request and instantiate html5as Template inside Web Runner

Day 3: Devops with webrunner and HTML5 with jio

Devops with Web Runner

  1. Connect to your runner
  2. Run your instance
  3. Add parameter: download_url = https://softinst50426.host.vifib.net/public/jdocman-master.tgz
  4. Run your instance
  5. On the service tab, see running process
  6. On the service tab, get Connection Information and access your website
  7. In the editor, change the port of you instance and run you instance
  8. You need to restart nginx to take into account the change, this is not acceptable in production
  9. Add a graceful for nginx (add template + add wrapper using copy/paste from the launcher)
  10. On slapos.org, connect to your account and modify parameter to add ipv4 access to your instance as described here: http://git.erp5.org/gitweb/slapos.git/blob/HEAD:/software/slaprunner/README.txt?js=1#l106
  11. https://github.com/nexedi/jdocman/blob/tutorial/tutorial/TUTORIAL.md

HTML5 et jIO

  1. Présentation
  2. Accès

Extra links

jIO presentation

After Cloud Presentation