I'm maybe 80% of the way there, after dealing with EPMD, logfiles,
rebar and a few other thing -- I'll put together a writeup if there's
any interest, but would love to hear from anyone who's done this
already (if anyone has).
Cheers,
Jeff
Rebar will save you many hours of hassle if you plan to build Erlang apps.
https://github.com/basho/rebar/wiki
rebar.config is fairly well documented on the rebar site and the various tutorials you can find on the web.
To understand the true significance of rebar, you should study Erlang OTP, Applications, and Releases.
http://www.erlang.org/doc/design_principles/users_guide.html
http://www.erlang.org/doc/design_principles/applications.html
http://www.erlang.org/doc/design_principles/release_structure.html
Also, pick up and study Joe Armstrong's book. It's the Erlang bible.
http://pragprog.com/book/jaerlang/programming-erlang
Then, work through:
Cesareini et. al.
http://www.amazon.com/ERLANG-Programming-Francesco-Cesarini/dp/0596518188/ref=pd_vtp_b_1
and
Logan et. al.
http://www.amazon.com/Erlang-OTP-Action-Martin-Logan/dp/1933988789/ref=pd_vtp_b_2
Don't forget the few good Erlang tutorials on the web. Here's one of the better ones:
Learn You Some Erlang For Great Good
http://learnyousomeerlang.com/
...but there are others.
Work and study will bring you great rewards.
All the best,
LRP
I much look forward to hearing about your experience with Heroku and your how-to contributions.
I maintain a dedicated server, but would be interested in inexpensive cloud solutions for back-up, fast temp sites, etc.
It took me awhile to catch on to the zen of Erlang. Still working at it. But once pattern-matching, recursion, funs, and list comprehensions sunk in, my ability to write useful code accelerated greatly. I'm just starting to sink my teeth into concurrency and supervision. The ideas are easy enough, I just need more hands-on experience. The bit syntax has me really intrigued. Would love to figure out how to connect with USB, talk to microcontrollers, interface with Forth, process graphics, etc., etc. Too little time now. Have to get my book sites up. But that's where CB comes in.
I'm no doubt behind you a bit re multi-server deployment. But I am very interested in max automation of site/app deployment to my dedicated server.
At the moment, I'm working on nginx as a reverse proxy. Just it installed a week or so ago on my development machine, but have little time to study it in depth. I've configured three simple static pages on it as virtual hosts. As soon as I finish proofing my book I want to install CB to serve the dynamic apps I have in mind.
The one simple problem that I haven't worked out yet is this:
Say I have Sites A, B, and C, all installed on the same hardware and served by Nginx. I'd like to access all three from separate domain names. So far so good. I know how to do that now.
But I'd also like to link from site A to B and C without going back out over the net. I haven't had a chance to play with this yet, know it's petty simple, but it's the very next task on my list. Beyond that, I want to understand all the security issues involved in Nginx configuration.
As to VPS, I ran several VPS sites for several years. Worked fine, but I was always cognizant of limitations. I've since found a provider of dedicated servers. Now spending $50/mo. for a fairly well provisioned dedicated server of my own. A few weeks ago I spotted a company in Europe that was offering a screamer for $77 a month.
So, re: deployment, do we have common interest? Is there a way we can work together?
This thread has me thinking---
Deployment involves many issues of concern to every CB adopter. I'm starting a new thread with subject "Deployment" in hope that we can explore the issues, expand the wiki on relevant topics and, perhaps, develop some code to make deployment easier and safer.
Best,
LRP
-----Original Message-----
From: "Ben G." <bng...@gmail.com>
This is excellent.
Thank you.
LRP
-----Original Message-----
From: "Ben G." <bng...@gmail.com>
Sent: Friday, February 10, 2012 3:23pm
To: "ChicagoBoss" <chica...@googlegroups.com>
Subject: Re: Heroku + ChicagoBoss