diff --git a/src/apptask.js b/src/apptask.js index 23ef2f2f3..19e63a6db 100644 --- a/src/apptask.js +++ b/src/apptask.js @@ -507,17 +507,6 @@ function startApp(app, callback){ docker.startContainer(app.id, callback); } -// Ordering is based on the following rationale: -// - configure nginx, icon, oauth -// - register subdomain. -// at this point, the user can visit the site and the above nginx config can show some install screen. -// the icon can be displayed in this nginx page and oauth proxy means the page can be protected -// - download image -// - setup volumes -// - setup addons (requires the above volume) -// - setup the container (requires image, volumes, addons) -// - setup collectd (requires container id) -// restore is also handled here since restore is just an install with some oldConfig to clean up function install(app, args, progressCallback, callback) { assert.strictEqual(typeof app, 'object'); assert.strictEqual(typeof args, 'object');