@@ -117,6 +117,37 @@ span.not-applicable:after {
|
||
| 117 | 117 |
} |
| 118 | 118 |
} |
| 119 | 119 |
|
| 120 |
+// Heroku |
|
| 121 |
+ |
|
| 122 |
+.heroku-instructions {
|
|
| 123 |
+ color: rgba(255, 255, 255, 0.9); |
|
| 124 |
+ background-color: rgba(132, 132, 196, 0.8); |
|
| 125 |
+ border: 3px solid rgba(132, 132, 196, 0.5); |
|
| 126 |
+ -webkit-border-radius: 4px; |
|
| 127 |
+ -moz-border-radius: 4px; |
|
| 128 |
+ border-radius: 4px; |
|
| 129 |
+ padding: 12px; |
|
| 130 |
+ margin-bottom: 10px; |
|
| 131 |
+ |
|
| 132 |
+ a {
|
|
| 133 |
+ text-decoration: underline; |
|
| 134 |
+ } |
|
| 135 |
+ |
|
| 136 |
+ a:link {
|
|
| 137 |
+ color: inherit; |
|
| 138 |
+ } |
|
| 139 |
+ |
|
| 140 |
+ a:hover, a:visited, a:active {
|
|
| 141 |
+ color: #fff; |
|
| 142 |
+ } |
|
| 143 |
+ |
|
| 144 |
+ pre {
|
|
| 145 |
+ background-color: #ffffff; |
|
| 146 |
+ color: #3F3F44; |
|
| 147 |
+ margin: 4px; |
|
| 148 |
+ } |
|
| 149 |
+} |
|
| 150 |
+ |
|
| 120 | 151 |
// Logs |
| 121 | 152 |
|
| 122 | 153 |
#logs .action-icon {
|
@@ -8,15 +8,25 @@ |
||
| 8 | 8 |
<%= form_for(resource, :as => resource_name, :url => registration_path(resource_name), :html => { :class => 'form-horizontal' }) do |f| %>
|
| 9 | 9 |
<%= devise_error_messages! %> |
| 10 | 10 |
<% if ENV['ON_HEROKU'] && User.count.zero? %> |
| 11 |
- <div class="heroku-instruction"> |
|
| 11 |
+ <div class="heroku-instructions"> |
|
| 12 | 12 |
<% app_name = request.host[/\A[^.]+/] %> |
| 13 |
- <p>If you are the owner of this application, run the following commands to complete the setup.</p> |
|
| 14 |
- <%= content_tag :pre do -%> |
|
| 15 |
-heroku git:clone <%= app_name %> |
|
| 16 |
-cd <%= app_name %> |
|
| 13 |
+ <p>If you are the owner of this application, take the following steps to complete the setup:</p> |
|
| 14 |
+ |
|
| 15 |
+ <ul> |
|
| 16 |
+ <li>Read <a href="https://github.com/cantino/huginn/wiki/Run-Huginn-for-free-on-Heroku" target="_target">this document</a> carefully if you are going to try out Huginn for free on <a href="https://id.heroku.com/" target="_target">Heroku</a>.</li> |
|
| 17 |
+ |
|
| 18 |
+ <li>Install the <a href="https://toolbelt.heroku.com/" target="_target">Heroku Toolbelt</a> and run <kbd>heroku login</kbd> if you haven't already.</li> |
|
| 19 |
+ |
|
| 20 |
+ <li>Run the following commands:<br /> |
|
| 21 |
+ <%= content_tag :pre do -%> |
|
| 22 |
+heroku git:clone <%= content_tag :var, app_name %> |
|
| 23 |
+cd <%= content_tag :var, app_name %> |
|
| 17 | 24 |
bundle |
| 18 | 25 |
bin/setup_heroku |
| 19 |
- <%- end %> |
|
| 26 |
+<%- end %> |
|
| 27 |
+ |
|
| 28 |
+ <li>Get back to this page and sign up with the invitation code shown by the last command.</li> |
|
| 29 |
+ </ul> |
|
| 20 | 30 |
</div> |
| 21 | 31 |
<% end %> |
| 22 | 32 |
|