星期一, 2月 04, 2013

As a Mac developer, what tools should you install for your new Mac (Air)

0. install Xcode (from AppStore) of course.

1. http://git-scm.com/download/mac  (the git)
2. http://www.macports.org/ (mac ports)  or (brew) either one.
3. test your port for "tree" -> "sudo port install tree"
4. install wget -> "sudo port install wget"

FIXME:
wget https://raw.github.com/technomancy/leiningen/stable/bin/lein
(To fix wget trust issue, refer to http://blog.55minutes.com/2012/01/fixing-https-certificate-errors-in-wget-and-ruby/)

if you got ERROR like this:


Resolving raw.github.com (raw.github.com)... 199.27.76.130
Connecting to raw.github.com (raw.github.com)|199.27.76.130|:443... connected.
ERROR: The certificate of ‘raw.github.com’ is not trusted.
ERROR: The certificate of ‘raw.github.com’ hasn't got a known issuer.


do following steps:

$ sudo port install curl-ca-bundle
$ echo CA_CERTIFICATE=/opt/local/share/curl/curl-ca-bundle.crt >> ~/.wgetrc

$ sudo ln -s /opt/local/share/curl/curl-ca-bundle.crt /opt/local/etc/openssl/cert.pem

and try again

wget https://raw.github.com/technomancy/leiningen/stable/bin/lein



5. https://devcenter.heroku.com/articles/heroku-command (install heroku CLI)
-->  https://toolbelt.herokuapp.com/ (install heroku toolbelf).

5.1 if you can't "git push heroku master" like this

Warning: Permanently added the RSA host key for IP address '50.19.85.154' to the list of known hosts.
Permission denied (publickey).
fatal: Could not read from remote repository.

add SSH key to your heroku account. (https://devcenter.heroku.com/articles/keys)

5.2 steps to add SSH key to heroku


$ ssh-keygen -t rsa
$ heroku keys:add

6. Install Jenkins (for sure, you need it for TDD).



* For all Utilities and Tools you need
1. Dropbox
https://www.dropbox.com/downloading?src=index




* For Clojure developer (you should) http://thecomputersarewinning.com/post/clojure-heroku-noir-mongo/

1. Install Lein (don't install 2.0, install 1.7 instead when 2.0 is not ready.)
refer to https://github.com/technomancy/leiningen

2. install Jenkins (for CI, you have to do that for TDD)
get your Jenkins serve ready:


* For iOS developer


* For Android developer

1. Install Eclipse

a. install any eclipse for Java developer.(http://www.eclipse.org/downloads/packages/eclipse-ide-java-developers/junosr1)

b.and Setting Up the ADT Bundle for android. (http://developer.android.com/sdk/installing/installing-adt.html)

c.download emulator from ADT manager in Eclipse.

2. Install Android-SDK
from http://developer.android.com/sdk/index.html#download
download http://dl.google.com/android/adt/adt-bundle-mac-x86_64.zip and unzip to any directory.
add this sdk from Eclipse perference after you install IDE for android in Eclipse.


* use Titanium for both iOS and Android (+ Window 8 mobile?)
1. install Titanium Studio.


* For Erlang


* For Ruby

1. It's ready to go.

* For Titanium
http://www.appcelerator.com/platform/titanium-sdk/
https://my.appcelerator.com/resources (download SDK)






沒有留言: