amtc-web Installation

{{#if freshsetup}} {{#unless preconditionsMet}}

Installation precondition tests

At least one PHP PDO driver is required.
{{/unless}} {{#if preconditionsMet}}
All preconditions for amtc-web installtion are met!
{{input type="text" value=datadir class="form-control"}}

Defaults to data subdirectory, relative to index.html. Alternatively, an absolute path may be specified. The directory will contain locks and logs. It may also contain an SQLite DB, if selected below.

{{input type="text" value=amtcbin class="form-control"}}

Defaults to /usr/bin/amtc. For testing amtc-web without amtc installed, cheat by using s.th. like /usr/bin/who.

{{input type="text" value=timezone class="form-control"}}

Defaults to Europe/Berlin. Select yours.

{{view Ember.Select class="form-control" content=dbs value=selectedDB prompt="Select PDO driver" }}
{{#if isMySQL}}

The user provided must exist and either be privileged to create the named Database -- or it must be created for the user prior to amtc-web installtion.

{{input type="text" value=mysqlHost class="form-control"}}
{{input type="text" value=mysqlDB class="form-control"}}
{{input type="text" value=mysqlUser class="form-control"}}
{{input type="password" value=mysqlPassword class="form-control" placeholder="joe,2014-$ecure!"}}
{{/if}} {{#if isSQLite}}
{{input type="text" value=sqlitePath class="form-control" placeholder="data/amtc-web.db"}}

Choose a (application-)relative path like data/amtc-web.db or use an absolute path. Note that the directory containing the file must be writable.

{{/if}}
{{input type="text" value=authurl class="form-control"}}

Defaults to basic-auth subdirectory, relative to index.html, but as full URL. The idea here is that you can specify any HTTP Basic Authentication protected resource as authentication source. By using the localhost URL, you may manage passwords by means of htpasswd locally -- or you may configure basic-auth subdirectory to use e.g. LDAP as authentication backend. Inside amtc-web s DB, only usernames and settings are stored.

Warning!
Once written via this setup tool, you have to delete the configuration file (config/siteconfig.php) manually to re-enable setup.
Default intial admin username is 'admin' with password 'amtc'. Currently, only SQLite and MySQL are supported by amtc-web!
{{#if selectedDB}} {{else}} A PHP DBO driver must be selected before proceeding. {{/if}}
{{else}}
Error! Not all preconditions met. Needs to be fixed to proceed with initial installation.
{{/if}} {{else}}

Installation tool locked

As a configuration file already exists at config/siteconfig.php, this setup tool is locked.
You have to manually remove the file to re-run setup.

{{/if}}