This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://github.com/intridea/grape/wiki | |
https://github.com/dblock/grape-on-rails | |
https://github.com/intridea/grape | |
http://railscasts.com/episodes/348-the-rails-api-gem?view=asciicast | |
https://github.com/rails-api/rails-api |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://github.com/PRX/apn_on_rails | |
http://rubydoc.info/github/PRX/apn_on_rails/master/frames | |
http://www.slideshare.net/llch/using-iphones-nsurlconnection-class-presentation | |
https://github.com/leonho/iphone-libs | |
http://www.takeofflabs.com/posts/8-Rails-and-iOS-a-sample-starting-setup | |
https://github.com/clarkware/iphone-rails-tutorial | |
http://en.oreilly.com/rails2010/public/schedule/detail/14136 | |
http://nathanhoad.net/intro-to-iphone-optimising-your-rails-site | |
http://archives.ryandaigle.com/articles/2009/2/5/get-your-iphone-and-rails-apps-talkin | |
http://restkit.org/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
install passenger gem | |
gem uninstall passenger | |
gem install passenger | |
##gem 'passenger' | |
#check for passenger process | |
passenger start -p 80 | |
passenger start -p 80 -d |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
run this script on a fresh Ubuntu server installation as non-root user | |
# version numbers for various packages | |
NGINX_VERSION=1.0.8 | |
# copy public ssh key to server's authorized_keys keychain for simple ssh logins | |
#mkdir -p ~/.ssh | |
#echo -e '<your ssh public key here>' > ~/.ssh/authorized_keys | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install rvm | |
bash < <(curl -s https://rvm.beginrescueend.com/install/rvm) | |
# install ruby 1.9.2 + some global gems | |
rvm install 1.9.2 | |
rvm use 1.9.2@global | |
gem install awesome_print map_by_method wirble bundler builder pg cheat | |
gem install -v2.1.2 builder | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# MySQL. Versions 4.1 and 5.0 are recommended. | |
# | |
# Install the MySQL driver: | |
# gem install mysql2 | |
# | |
# And be sure to use new-style password hashing: | |
# http://dev.mysql.com/doc/refman/5.0/en/old-client.html | |
development: | |
adapter: mysql2 | |
encoding: utf8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# SQLite version 3.x | |
# gem install sqlite3-ruby (not necessary on OS X Leopard) | |
development: | |
adapter: sqlite3 | |
database: db/development.sqlite3 | |
pool: 5 | |
timeout: 5000 | |
# Warning: The database defined as "test" will be erased and | |
# re-generated from your development database when you run "rake". |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MySQL | |
# Install the database packages | |
sudo apt-get install -y mysql-server mysql-client libmysqlclient-dev | |
# Pick a database root password (can be anything), type it and press enter | |
# Retype the database root password and press enter | |
# Login to MySQL | |
mysql -u root -p |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PostgreSQL | |
# Install the database packages | |
sudo apt-get install -y postgresql-9.1 libpq-dev | |
# Login to PostgreSQL | |
sudo -u postgres psql -d template1 | |
# Create a user for GitLab. (change $password to a real password) | |
template1=# CREATE USER git WITH PASSWORD '$password'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#---------------------------------------------------------------------------- | |
# Ignore these files when commiting to a git repository. | |
# | |
# See http://help.github.com/ignore-files/ for more about ignoring files. | |
# | |
#---------------------------------------------------------------------------- | |
# bundler state | |
/.bundle | |
/vendor/bundle/ |