This repository was archived by the owner on Jul 31, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathREADME
More file actions
64 lines (41 loc) · 1.24 KB
/
Copy pathREADME
File metadata and controls
64 lines (41 loc) · 1.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
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 <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [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