One more thing of note. Since the pre_build script is always run first in the cycle, one can assume that racket is installed and working henceforth. So the rest of RackOS system, scripts, and hooks such 'start', 'stop', 'deploy' etc.. can be written in Racket. Putting together the Bash script to bootstrap Racket was torture. Should be easier now.<br>
<br><br><div class="gmail_quote">On Wed, May 16, 2012 at 9:53 PM, Ray Racine <span dir="ltr"><<a href="mailto:ray.racine@gmail.com" target="_blank">ray.racine@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Quick update.<br><br>I have a rough and simple bootstrap working. <br><br>Here to see it running. <a href="http://test-rpr.rhcloud.com/" target="_blank">http://test-rpr.rhcloud.com/</a><br>Read the README here about the DIY scripts. <a href="https://github.com/RayRacine/rackos" target="_blank">https://github.com/RayRacine/rackos</a><br>
Read here if you want to bring run Racket's default page on OpenShift. <a href="https://github.com/RayRacine/rackos/wiki/Quick-Start" target="_blank">https://github.com/RayRacine/rackos/wiki/Quick-Start</a><br><br>Basically OpenShift's DIY is a v0.1 of a lifecycle of shell script hooks that are called whenever you push changes to your website/code via GIT to OpenShift.<br>
<br>One of the hooks is the pre_build script (called when you push new code, before the build script is called).<br>In pre_build, if Racket is NOT installed, Racket is auto downloaded rom <a href="http://racket-lang.org" target="_blank">racket-lang.org</a>, installed it and started on your cloud instance. At the moment all you get is the default Racket WebServer home up and running.<br>
<br>See <a href="https://github.com/RayRacine/rackos/wiki/Quick-Start" target="_blank">https://github.com/RayRacine/rackos/wiki/Quick-Start</a><br><br>Next step (not yet done) is to configure the Racket WebServer to servlet code location to some distinguished directory in the repository structure. <br>
<br>Then you develop and test your web code locally and when ready Git commit and push it to OpenShift. As soon as the push happens the scripts will restart the Racket Webserver auto-magically. Just keep pushing changes and they take effect immediately.<br>
<br>Tada your newly changed Racket web app is up and running on the internet. <br><div class="HOEnZb"><div class="h5"><br><div class="gmail_quote">On Tue, May 15, 2012 at 6:10 PM, John Clements <span dir="ltr"><<a href="mailto:clements@brinckerhoff.org" target="_blank">clements@brinckerhoff.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><br><div><div><div><div>On May 15, 2012, at 3:02 PM, Danny Yoo wrote:</div>
<br><blockquote type="cite"><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>The DIY offering is pretty new with limited doc.<br><br><a href="https://openshift.redhat.com/community/blogs/new-openshift-release-march-22-2012-nodejs-diy-cartridge-new-website-and-more" target="_blank">https://openshift.redhat.com/community/blogs/new-openshift-release-march-22-2012-nodejs-diy-cartridge-new-website-and-more</a><br>
<br><a href="https://openshift.redhat.com/community/blogs/a-paas-that-runs-anything-http-getting-started-with-diy-applications-on-openshift" target="_blank">https://openshift.redhat.com/community/blogs/a-paas-that-runs-anything-http-getting-started-with-diy-applications-on-openshift</a><br>
<br>I'll create a github project and post it this evening if anyone wants to assist in creating a Racket Cartridge for OpenShift.<br>
</blockquote><span></span><div><br></div><div>Oh! Definitely interested! </div></blockquote><div><br></div></div></div>Yes, I would love the ability to transparently deploy Racket servers. Here's the list of things that I can come up with off the top of my head:</div>
<div><br></div><div>- handin server</div><div>- grade server</div><div>- evaluation server for use with WebIDE</div><span><font color="#888888"><div><br></div><div>John Clements</div><div><br></div></font></span></div>
</blockquote></div><br>
</div></div></blockquote></div><br>