News for hackers. Stuff that matters.
Re:Ask HN: How do you begin to build your new project? by dkubb on Saturday December 18, 2010 @05:59AM (#2019310)
I know you were asking about design, but the first thing I usually do with a new project (usually commit #2) is to make sure the deployment process works.

Then I usually setup a CI service that runs the specs on each commit, and deploys to a staging/demo server automatically if they pass.

The reason I do this first is that deployment becomes more difficult the further into the project you get. It's easier to work through deployment issues incrementally rather than just before launch, or when you want to demo the app to someone outside.

Re:Ask HN: How do you begin to build your new project? by cmontgomeryb on Saturday December 18, 2010 @08:59AM (#2019502)
This is something I was considering. I've never personally dealt with the full deployment process by myself with Rails, so I was going to look at this when I get to coding. I wasn't planning on CI, but it's something else that I'd like to do.

If you use Rails, any recommendations for CI? Thanks for the comment.

Re:Ask HN: How do you begin to build your new project? by fhirzall on Monday December 20, 2010 @02:01AM (#2023621)
You could run something like Autotest for continuous testing & quality control: http://ph7spot.com/musings/getting-started-with-autotest

You can run Capistrano for continuous deployment: https://github.com/capistrano/capistrano.

If you wanted to go the extra mile you could also setup different staging environments on your server: http://cjohansen.no/en/rails/multi_staging_environment_for_r...

Re:Ask HN: How do you begin to build your new project? by philjackson on Saturday December 18, 2010 @06:09AM (#2019324)
Re:Ask HN: How do you begin to build your new project? by stefanobernardi on Saturday December 18, 2010 @07:31AM (#2019395)
Re:Ask HN: How do you begin to build your new project? by cmontgomeryb on Saturday December 18, 2010 @09:03AM (#2019507)
Thankyou very much philjackson and stefanobernadi, interesting & appreciated links :)