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/huginn/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? %>
<% end %>
<%= render partial: 'common_registration_fields', locals: { f: f } %>
<% end %>
<%= render "devise/shared/links" %>