Skip to content
This repository has been archived by the owner on Jul 31, 2018. It is now read-only.

continuum/startechconf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DEVELOPEMENT VERSION (NOT REQUIRED)
-----------------------------------

➜  startechconf $ ruby --version
ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-darwin12.2.0]

➜  startechconf $ rvm --version
rvm 1.15.9 (latest) by Wayne E. Seguin <[email protected]>, Michal Papis <[email protected]> [https://rvm.io/]

➜  startechconf $ gem --version
1.8.24

➜  startechconf $ rails --version
Rails 3.2.13

➜  startechconf $ postgres --version
postgres (PostgreSQL) 9.2.1

➜  startechconf $ brew --version
0.9.4

➜  startechconf $ git --version
git version 1.7.12.4 (Apple Git-37)


Requirements
------------
Brew:
  ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
sudo gem install bundler
brew install postgres


Development
-----------

$ bundle install
$ createuser -d -P startechconf
$ rake db:create
$ rails s

NOTE: If you have an Socket Error in Postgress: /var/pgsql_socket/.s.PGSQL.5432 add this line to your .bash_profile or .zshrc
  
  export PGHOST=localhost

Deploy
------

Setup inicial (solo la primera vez):

$ heroku git:remote --app startechconf

$ heroku login

$ heroku keys:add

Luego para hacer Test & Push & Deploy:

$ rake && git push && rake deploy

Ver pre-registros
----------------

$ heroku run rake preregistros