diff options
| author | mo khan <mo@mokhan.ca> | 2013-07-20 07:33:13 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2013-07-20 07:33:13 -0600 |
| commit | 77d8a3a3236900ebed3cdf98a22cf8d3bfa3cd65 (patch) | |
| tree | d52a18edaf007a18e723805315a185469ab7492b /README.md | |
| parent | 015dc04a0c63057e18a6ff4839af69681854a66c (diff) | |
update the readme
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 00000000..25172ef9 --- /dev/null +++ b/README.md @@ -0,0 +1,46 @@ +## Environment Setup + +Install RVM + + curl -L https://get.rvm.io | bash -s stable --ruby + +Install ruby 2.0.0 + + rvm install 2.0.0 + +Install required gems + + bundle install + +Install/Start Postgres + + brew install postgres + initdb /usr/local/var/postgres + +Configure Postgres (uncomment and change unix_socket_directory = '/var/pgsql_socket') + + vim /usr/local/var/postgres/postgresql.conf + pg-start + +Setup database (set password to postgres) + + cp config/database.yml.example config/database.yml + rake db:create:all + rake db:migrate + +Start server + + rails s + +## Capistrano + +[more info](https://github.com/capistrano/capistrano/wiki/2.x-From-The-Beginning) + +{% highlight text linenos %} + + $ cap deploy:setup + $ cap deploy:check + $ cap deploy:update + +{% endhighlight %} + |
