i_reach 0.0.2 → 0.1.0
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 +38 -17
- data/Rakefile +3 -0
- data/app/assets/javascripts/i_reach/application.js +2 -1
- data/app/assets/javascripts/i_reach/jquery-ui-timepicker-addon.js +2134 -0
- data/app/assets/stylesheets/i_reach/admin.css +4 -4
- data/app/assets/stylesheets/i_reach/application.css +3 -1
- data/app/assets/stylesheets/i_reach/nav.css +36 -211
- data/app/assets/stylesheets/i_reach/timepicker.css +11 -0
- data/app/controllers/i_reach/welcome_controller.rb +4 -0
- data/app/helpers/layout_helper.rb +24 -0
- data/app/views/admin/_admin_menu_navigation.html.erb +24 -0
- data/app/views/admin/admin_user/_form.html.erb +17 -0
- data/app/views/admin/admin_user/edit.html.erb +9 -0
- data/app/views/admin/admin_user/list.html.erb +26 -0
- data/app/views/admin/admin_user/new.html.erb +8 -0
- data/app/views/admin/admin_user/show.html.erb +8 -0
- data/app/views/admin/home/index.html.erb +1 -0
- data/app/views/admin/menu/_form.html.erb +28 -0
- data/app/views/admin/menu/edit.html.erb +9 -0
- data/app/views/admin/menu/export.html.erb +1 -0
- data/app/views/admin/menu/imp_exp.html.erb +11 -0
- data/app/views/admin/menu/import.html.erb +1 -0
- data/app/views/admin/menu/list.html.erb +33 -0
- data/app/views/admin/menu/new.html.erb +8 -0
- data/app/views/admin/menu/show.html.erb +8 -0
- data/app/views/admin/user/_form.html.erb +49 -0
- data/app/views/admin/user/edit.html.erb +9 -0
- data/app/views/admin/user/list.html.erb +27 -0
- data/app/views/admin/user/new.html.erb +8 -0
- data/app/views/admin/user/show.html.erb +8 -0
- data/app/views/client/index.html.erb +1 -0
- data/app/views/i_reach/welcome/index.html.erb +43 -0
- data/app/views/layouts/i_reach/admin.html.erb +131 -0
- data/app/views/layouts/i_reach/application.html.erb +64 -2
- data/app/views/public/index.html.erb +2 -0
- data/config/routes.rb +2 -0
- data/config/spring.rb +1 -0
- data/lib/i_reach/engine.rb +7 -0
- data/lib/i_reach/version.rb +1 -1
- data/lib/i_reach.rb +5 -1
- metadata +74 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZDc0NzcwYjFjN2I1MWE5YjljNmM5Njc3ODg3MmI0ZmE2MWU3M2EzNQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZDNkMmZhMDBiYmM4Y2MwMzgxZTI4NjA4MDk1ZjM3N2NhNTdmYzJlNw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YWNlMWE1YjM5NGZhMjk1NTk4ZjY1MWY4NDViZjk1YmUxMzQ0MmMzNWE4YTYw
|
10
|
+
OGIyYjdiZDFhMjhiNjM4MTc3YWYwZDI5NDhkNTJlOTQwMjc5MzBiOTY2NzZj
|
11
|
+
ZjhmMzYyNWU1MGY5NWIxYTJiODE2MjgyZTQ1Y2ViYjA1ODJlMDQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ODQ1NGM4M2QzZDhiNzAxNDcyNzFkOTM0ZTA4ZTRmNmE4MmEyZDgzZjJhYmI4
|
14
|
+
YTI3MTk4OWZiNTE4NGUzMzgxNjI5YTk5YjdlMzJjMzNhNzE2NmViZDY1NjI4
|
15
|
+
ZmMyMjk1ZTM2MWZiYmZjM2FiN2FhM2FlZWNjZjM2OTk5YWFlMDQ=
|
data/README.md
CHANGED
@@ -8,36 +8,57 @@ Requirements
|
|
8
8
|
|
9
9
|
* Rails 3.2.x
|
10
10
|
* Ruby 1.9.3-x
|
11
|
+
* [Bundler](http://bundler.io)
|
11
12
|
|
12
13
|
Optional Dependencies
|
13
14
|
---------------------
|
14
15
|
* [RVM](http://rvm.io)
|
15
|
-
* [Bundler](http://bundler.io)
|
16
16
|
|
17
17
|
Installation
|
18
18
|
-----------
|
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
|
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
|
+
`# new rails app where you want to not use 'test' and want to use mysql
|
20
21
|
rails new MyApp -T --skip-bundle -d mysql
|
21
|
-
|
22
|
+
# or optionally a default rails app
|
23
|
+
rails new MyApp
|
24
|
+
cd MyApp`
|
22
25
|
|
23
|
-
* edit your Gemfile
|
24
|
-
gem 'i_reach'
|
26
|
+
* edit your Gemfile
|
27
|
+
`gem 'i_reach'`
|
25
28
|
|
26
|
-
* bundle your gems
|
27
|
-
bundle install
|
29
|
+
* bundle your gems
|
30
|
+
`bundle install`
|
28
31
|
|
29
32
|
* configure [mail_manager](https://github.com/LoneStarInternet/mail_manager/master/README.md)
|
30
|
-
|
31
|
-
rake mail_manager:import_migrations
|
33
|
+
* generate migrations
|
34
|
+
`rake mail_manager:import_migrations`
|
35
|
+
|
36
|
+
* generate delayed_jobs (this is the only job runner we support right now)
|
37
|
+
`rails g delayed_job:active_record`
|
38
|
+
|
39
|
+
* NOTE: you need to create an email account that will receive bounces from your mailings(and allow POP)... configure in the following file:
|
40
|
+
* generate and configure the mail manager settings file at config/mail_manager.yml: (replace table prefix with something... or nothing if you don't want to scope it)
|
41
|
+
`rake mail_manager:default_app_config[table_prefix]`
|
42
|
+
|
43
|
+
* configure [newsletter](https://github.com/LoneStarInternet/newsletter/master/README.md)
|
44
|
+
* generate migrations
|
45
|
+
`rake newsletter:import_migrations`
|
46
|
+
|
47
|
+
* 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
|
+
`rake newsletter:default_app_config[table_prefix]`
|
49
|
+
|
50
|
+
* configure your database(unless already configured) edit config/database.yml
|
32
51
|
|
33
|
-
|
34
|
-
|
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`
|
54
|
+
`rake db:migrate`
|
35
55
|
|
36
|
-
|
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`
|
37
59
|
|
38
|
-
|
39
|
-
rake
|
40
|
-
rake db:migrate
|
60
|
+
* create bounce job to check for emails that have bounced from your mailings
|
61
|
+
`rake mail_manager:create_delayed_jobs`
|
41
62
|
|
42
|
-
* mount IReach routes (you can say where by using at: /path)
|
43
|
-
mount IReach::Engine
|
63
|
+
* mount IReach routes (you can say where by using at: /path)
|
64
|
+
`mount IReach::Engine`
|
data/Rakefile
CHANGED