Setting up a Unix Development Environment, Based on Personal Experience

Setting up a Unix Development Environment, Based on Personal Experience

PHP / Some Framework (Total time, 2 days) Step 1:  Check out the code
git clone user@repohost:user/Repo.git

Step 2:  Watch it crash and burn with helpful debug info displayed

Fatal error: Uncaught exception 'Exception'

Step 3:  Seek help from other developer who doesn't get back to you for 3 hours.

Step 4:  Seek help from an authority on the matter (Google)

Step 5:  Recompile PHP, cause that worked for one guy on Google Code 9 years ago

Step 6:  See Step 2

Step n:  Lose all hope

Step n+1:  Turns out the codebase depended on a 4 year old version of a library you updated last month.  And it's only used in one line of code.

Python / Django (Total Time, 15 minutes) Step 1: Create a Virtual Environment (clean Python Install with no shared dependencies)
virtualenv myproject
source myproject/bin/activate
Step 2: Check out the code
git clone user@repohost:user/Repo.git
Step 3: Install requirements
pip install -r requirements.txt
Step 4:  Eat a donut    

Next entry

Previous entry

comments powered by Disqus

Categories