inex / IXP-Manager

Full stack web application powering peering at over 200 Internet Exchange Points (IXPs) globally.

Home Page:https://www.ixpmanager.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Setup wizard for the initial database objects

metalgrid opened this issue · comments

The installation procedure is a bit tedious when deploying without the automated script (for example, when not deploying to an ubuntu-based host, or in a custom environment). A long-standing memo in the docs states Yes, a setup wizard needs to be built!, outlining the need for one.

While having a full-blown page where a user fills an HTML form would be great, but that has its own issues, e.g. having to secure it, or remove it after the installation.

I propose a simple artisan command that will retrieve all the required information for the initial setup from the user.
It should use the IXP models instead of raw SQL to improve the installation process, maintainability, and to reduce the risks of working with shell variables (e.g. an escape character being mistyped in one of them may lead to unexpected problems).