i_reach 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/README.md +20 -15
- data/lib/i_reach/engine.rb +1 -0
- data/lib/i_reach/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MDcyYjUyNDhlODVmM2YxYjk2NDNhYTZlNzY0ZGMzMTNkNWU2MGVhMg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MjI1Y2M3NmZmNDJlODA2YTI0YWEyMjQzZGE1ZjgyZTJjZjk1ZmY2NQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZjYzZTBhYzRjMDcxOTBiYTEwMmQzY2RjNjRkYjY4M2ZiMGY1NjQ1N2M0YzRj
|
10
|
+
NTRmNTllZmQwY2I1YzFjMzJmNjdjZTQ1NmQyNjEwM2I1YmE5ODkwOWYwOTRm
|
11
|
+
OTFmZDYwNWYwNmI2MTUyMGM5ODIyMWEyMmFlZTJhZDg2MWQzYzg=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NWExYmUyM2Y5YWNjZTUzNjhjNWIwZjk5YjBmMDYwZjQzNDQwY2U4OTMxMDlk
|
14
|
+
MGE2NDhjOGYzNDY1Yjc5MTA2ZjU4NWJkM2Y5OWYxNjZjMTcyNWU3MmQ0NGIy
|
15
|
+
OGM4MDhiMGRhMzUzNWVjZTVmY2E2NWFiOTUyODE3YTAwOWY1ZmQ=
|
data/README.md
CHANGED
@@ -17,18 +17,28 @@ Optional Dependencies
|
|
17
17
|
Installation
|
18
18
|
-----------
|
19
19
|
* install rvm/ruby 1.9.3/bundler/rails 3.2.x then run the following or skip ahead to the next step if you already have a rails 3.2.x app
|
20
|
-
|
21
|
-
rails new MyApp -T --skip-bundle -d mysql
|
22
|
-
|
23
|
-
rails new MyApp
|
24
|
-
cd MyApp`
|
20
|
+
* new rails app where you want to not use 'test' and want to use mysql
|
21
|
+
`rails new MyApp -T --skip-bundle -d mysql`
|
22
|
+
* or optionally a default rails app
|
23
|
+
`rails new MyApp`
|
24
|
+
`cd MyApp`
|
25
25
|
|
26
26
|
* edit your Gemfile
|
27
27
|
`gem 'i_reach'`
|
28
|
+
* uncomment the ruby racer line ... or pick another JS gem
|
29
|
+
`gem 'therubyracer', :platforms => :ruby`
|
30
|
+
* add any other gems you like
|
28
31
|
|
29
32
|
* bundle your gems
|
30
33
|
`bundle install`
|
31
34
|
|
35
|
+
* configure your database(unless already configured) edit config/database.yml
|
36
|
+
|
37
|
+
* NOTE: you may need to prefix everything with `bundle exec` assuming you're using bundler
|
38
|
+
|
39
|
+
* create(unless already created) the database
|
40
|
+
`rake db:create # this doesn't always work... you may need to use your normal client & set up permissions`
|
41
|
+
|
32
42
|
* configure [mail_manager](https://github.com/LoneStarInternet/mail_manager/master/README.md)
|
33
43
|
* generate migrations
|
34
44
|
`rake mail_manager:import_migrations`
|
@@ -47,18 +57,13 @@ Installation
|
|
47
57
|
* generate and configure the newsletter settings file at config/newsletter.yml: (replace table prefix with something... or nothing if you don't want to scope it)
|
48
58
|
`rake newsletter:default_app_config[table_prefix]`
|
49
59
|
|
50
|
-
*
|
51
|
-
|
52
|
-
* create(unless already created) and migrate the database
|
53
|
-
`rake db:create # this doesn't always work... you may need to use your normal client & set up permissions`
|
60
|
+
* migrate the database
|
54
61
|
`rake db:migrate`
|
55
62
|
|
56
|
-
* Create default admin menus for newsletter, mail_manager, and user administration
|
57
|
-
`rake newsletter:create_auth_menus
|
58
|
-
rake mail_manager:create_auth_menus`
|
59
|
-
|
60
63
|
* create bounce job to check for emails that have bounced from your mailings
|
61
64
|
`rake mail_manager:create_delayed_jobs`
|
62
65
|
|
63
|
-
* mount IReach routes (you can say where by using at: /path)
|
64
|
-
`mount IReach::Engine`
|
66
|
+
* mount IReach routes (you can say where by using at: /path) in config/routes.rb
|
67
|
+
`mount IReach::Engine => "/"`
|
68
|
+
`root to: 'i_reach/welcome#index'`
|
69
|
+
|
data/lib/i_reach/engine.rb
CHANGED
@@ -5,6 +5,7 @@ module IReach
|
|
5
5
|
end
|
6
6
|
IReach::Engine.config.to_prepare do
|
7
7
|
ApplicationController.helper(LayoutHelper)
|
8
|
+
ApplicationController.layout('i_reach/application')
|
8
9
|
MailManager::ApplicationController.layout('i_reach/application')
|
9
10
|
MailManager::ApplicationController.helper(LayoutHelper)
|
10
11
|
Newsletter::ApplicationController.layout('i_reach/application')
|
data/lib/i_reach/version.rb
CHANGED