New API and custom install scripts

Updated Dec 29 at 09:35 CDT (first posted Dec 7 at 03:23 CDT) by Remi in API, General, Python  - 5 comment(s)

New API and custom install scripts

After weeks of teasing and mouth watering, our API is finally available !

The API allows you to automate certain tasks that you would normally accomplish via our control panel or via SSH. For instance, it allows you to automate the installation of any application that you like. And most importantly, you can share this install script and allow other users to use it in one click !

A tutorial for the API is available and should contain everything to get you started.

We've also setup a Wiki that already contains two sample install scripts (one for Joomla and one for MoinMoin). This page allows you to install these applications on your account just by clicking the "Install" link.

We've also added a new forum for questions about the API and for announcing install scripts that you might have written.

Improvements to the app creation screen

You will also notice some improvements on the app creation screen:

  • Each application now comes with documentation. When you change the "app type" in the drop down you will see the documentation for this particular app type.
  • There is a new "Custom install script" app type that allows you to either give the URL where the script is and let the control panel fetch it, or you can click on "view/hide script" and manually enter the script.
  • If you write a script and put it somewhere on the web, you can display a link to https://panel.webfaction.com/app/create?script_url=xxxx. When people click on it they will go to the app creation screen, the "script URL" field will contain the script URL and the control panel will automatically fetch the script from that URL. This is great since it allows anyone to use your custom install script in one click !

Lots more to come

We have a lot more to come for the API:
  • Lots more API methods
  • The full API reference
  • A free developer account: this will allow anyone who wants to write an installer for an application to get a free account with us to write their installer


5 comments:




Jorge said on 2006-12-07 12:58:05:
great thanks for this!

I had been looking forward to it.

Thanks for the moinmoin script I'm going to give it a try, since I had this on my TODOlist for a while.

I'm going to testdrive the API with a drupal install script since I'm currently working on this.

where do I sign in for the dev account?



Remi said on 2006-12-07 13:04:24:
Jorge:

Great, looking forward to a Drupal installer :)

> where do I sign in for the dev account?

Existing customers can just use their normal hosting account (control panel username/password).

People who are not customers will need a dev account but these are not yet available (we'll announce it on our blog when they become available).


Remi.




Jorge said on 2006-12-08 09:46:15:
Ahhh ok I'll use my account, nothing like messing about with a production environment :)



me said on 2008-01-18 09:40:18:
FUCK YOU RETARDS



FUCK YOU RETARDS





Leave a new comment:

(Note: comments may be moderated)

Author:
Email (not displayed):
Website:
Message: