Sign up
<%= form_for(resource, as: resource_name, url: registration_path(resource_name), html: { class: 'form-horizontal' }) do |f| %>
<%= devise_error_messages! %>
<% if ENV['ON_HEROKU'] && User.count.zero? %>
<% app_name = request.host[/\A[^.]+/] %>
If you are the owner of this application, take the following steps to complete the setup:
- Read this document carefully if you are going to try out Huginn for free on Heroku.
- Install the Heroku Toolbelt and run heroku login, if you haven't already.
- Run the following commands:
<%= content_tag :pre do -%>
heroku git:clone --app <%= content_tag :var, app_name %>
cd <%= content_tag :var, app_name %>
bundle
bin/setup_heroku
<%- end %>
- This command will create an admin account for you.
<% end %>
<% end %>
<%= render "devise/shared/links" %>