forked from sighmon/hackerspace
-
Notifications
You must be signed in to change notification settings - Fork 0
/
install-list.txt
54 lines (30 loc) · 1.94 KB
/
install-list.txt
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
List of components installed
============================
$ rails generate devise:install
$ rails generate devise:views
$ rails generate devise User
Alerts:
https://gist.github.com/roberto/3344628
Analytics:
http://railsapps.github.io/rails-google-analytics.html
$ rails generate figaro:install
$ rails generate migration add_username_to_users username:string
$ rails g controller Registrations
$ rails g scaffold page title:string permalink:string:index body:text
$ rails generate bootstrap:install -f
For bootstrap generators
$ rails g scaffold membership user_id:integer valid_from:datetime duration:integer
$ rails g migration add_express_token_to_memberships express_token:string express_payer_id:string
$ rails g migration add_purchase_date_to_memberships purchase_date:datetime
$ rails g migration add_paypal_details_to_memberships paypal_payer_id:string paypal_email:string paypal_first_name:string paypal_last_name:string paypal_profile_id:string paypal_street1:string paypal_street2:string paypal_city_name:string paypal_state_or_province:string paypal_country_name:string paypal_country_code:string paypal_postal_code:string price_paid:integer concession:boolean
$ rails g migration add_admin_to_users admin:boolean
$ rails g model PaymentNotification params:text status:string transaction_id:string transaction_type:string user_id:integer
$ rails g controller PaymentNotifications create
IPN Ping test
$ curl -d "txn_id=1&recurring=1&period3=3&txn_type=subscr_payment&invoice=2&mc_gross=1800&payment_status=Completed" http://localhost:3000/payment_notifications
$ rails g migration add_refund_and_cancellation_date_to_memberships refund:integer cancellation_date:datetime
$ rails g migration add_website_and_about_to_users website:text about:text
$ rails g migration add_nfc_atr_and_nfc_id_to_users nfc_atr:binary nfc_id:binary
$ rails g scaffold checkin user_id:integer
TODO: awesome 404/500 error pages.
TODO: emails for new users and memberships.