Thursday, December 12, 2013

Send Interactive Commands to a Cloud Foundry App with websocketd

on my way home from work tonight i saw the tweet below about connecting STDIN and STDOUT from remote processes with websocket. i tried it out quickly locally and it worked streaming output of numbers from 1 to 10 sent to STDOUT 1 second apart over websocket using localhost. can i apply this to cloud foundry easily?  it turns out the answer is yes!
you can easily include the small linux 64bit websocketd binary and this script with your app and remotely send commands over websocket that will execute in the app container and stream the STDOUT from the command back over websocket to the browser. this is helpful for sending commands like rake db:migrate or to explore the linux container file system after the buildpack has run. see the screenshot and video below. for the impatient, skip to about 3:00 of the short demo.

more instructions are on github. also see the websocketd project.


akhil sharma said...

thanks for share this great post
valentine wishes
valentine message for husband
valentine message for wife

Rahul Singh said...

happy valentine day
valentine day wishes for boyfriend
valentine day poems for girlfriend
valentines day message for wife
valentine day message for girlfriend

Bobby Chahal said...

You can check your Tnpsc Group 4 hall ticket

Bobby Chahal said...

RSMSSB Lab Assistant Admit Card

Haxie 100 said...


Ranjit Ram said...

Want to know about Veterans Day,which is a day to celebrate the great officers of the US army,just checkout my blog Happy Veterans Day and stay updated.

sana khna said...

If U Like Me Then Click On the Photo Nd Call On ym no
Be Fast I em Waiting For U
Then I will Chnage My Mobile No

Peter said...

Valentine Week 2017

Unknown said...

Thanks for sharing. share good information Tutuapp

ston sen said...

Very Interesting and wonderful information keep sharing this post kindly check
windows 10 iot core web service

Unknown said...

just information we only provide information for those who need it cara menggugurkan kandungan
A. obat telat datang bulan
B. posisi berhubungan agar cepat hamil
C. makanan dan minuman agar cepat hamil
D. panduan agar cepat hamil
E. cara agar cepat hamil
F. cara agar cepat hamil setelah selesai haid
G. cara alami untuk segera mendapat kehamilan

Sample Data said...

tutu helper app

cahyo82 said...

memungkinkan orang mencari tahu mengenai kehamilan dengan kalender / kalkulator kehamilan belumlah tepat oleh sebab itu sebaiknya lakukan usg saja. Cara Menggugurkan Kandungan juga bukan cara mudah yg bisa dilakukan oleh siapa saja terlebih lagi belum memiliki pengalaman dalam hal itu. Pakai cara aman dan minta petunjuk orang yg lebih ahli terutama dokter kandungan adalah cara tepa