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 -%> git clone https://github.com/cantino/huginn.git <%= content_tag :var, app_name %> cd <%= content_tag :var, app_name %> heroku git:remote -a <%= content_tag :var, app_name %> cp .env.example .env gem install bundler bundle bin/setup_heroku <%- end %>
  • This command will create an admin account for you.
<% end %> <% if User.using_invitation_code? %>
<%= 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.
<% end %> <%= render partial: 'common_registration_fields', locals: { f: f } %>
<%= f.submit "Sign up", class: "btn btn-primary" %>
<% end %> <%= render "devise/shared/links" %>