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 <%= 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 %>
<%= f.label :invitation_code, :class => 'col-md-4 control-label' %>
<%= f.text_field :invitation_code, :class => 'form-control' %> We are not yet open to the public. If you have an invitation code, please enter it here.
<%= f.label :email, :class => 'col-md-4 control-label' %>
<%= f.email_field :email, :class => 'form-control' %>
<%= f.label :username, :class => 'col-md-4 control-label' %>
<%= f.text_field :username, :class => 'form-control' %>
<%= f.label :password, :class => 'col-md-4 control-label' %>
<%= f.password_field :password, :autocomplete => "off", :class => 'form-control' %>
<%= f.label :password_confirmation, :class => 'col-md-4 control-label' %>
<%= f.password_field :password_confirmation, :class => 'form-control' %>
<%= f.submit "Sign Up", :class => "btn btn-primary" %>
<% end %> <%= render "devise/shared/links" %>