{% from "pyfarm/macros.html" import render_field %} {% if finished %} {% endif %} PyFarm - Setup

PyFarm Setup

{% if error %} There was a problem while attempting to perform your request: {{error}} {% elif finished %} The setup has been completed! Redirecting to the index in {{redirect_seconds}} seconds. {% elif not admin_role or not admin_users %}

Hello and welcome to PyFarm's initial setup! Before you start using PyFarm you'll need to create an Administrator account.

{{ render_field(form.username) }} {{ render_field(form.email) }} {{ render_field(form.password) }}

Security Note: The account you are creating will have full control over PyFarm. It is recommended you use this account for user administration and create other roles for the various parts of PyFarm.

{% elif admin_users %} Looks like everything is ready to go! The database has already been setup and you have some existing administrators: {% endif %}