#1
Join me for a first look at the new Trongate Setup Wizard. I’m testing it out for the first time, and the simplicity of the setup process is impressive. If you’re looking for the most beginner-friendly way to get started with PHP, Trongate just raised the bar.

YouTube video link: https://youtu.be/P_NHd0-aESI
Enjoy!
#2
That was outstanding. You're a great teacher.
#3
Well presented, Balazs.

I was hoping to take it a step further by having the setup wizard handle everything automatically - updating `config.php`, `database.php`, setting the `DEFAULT_MODULE`, and then removing itself once the installation is complete. The goal is to avoid having to jump in and out of an editor during setup and keep the whole process streamlined.

If there’s interest, I’d be happy to put something like this together. Keen to hear any thoughts or feedback.
#4
Looks great, well presented Balazs.
I can definitely see how actual server provisioning and continuous delivery with zero downtime via symlinks could be nicely tied it.

It might be a little work to support more than one target platform - nothing a collection of recipes or adapters can’t easily support tho :)
#5
Hello Balazs,

Excellent Video,

Dan
#6
@DaFa,
I - for one - would be very interested in your take! Back in January (I think) I was bold enough (and in all honesty: a bit too bold) to have a go at this and shared my first version of a Kickstart module that did (and does) just that: automatically updating `config.php`, `database.php` and self-destruct at the end. And it included an SQL-importer that automatically adds tables to the database and adds the corresponding modules. It was far from perfect and by now better (I presume) solutions have been introduced. (I still use my Kickstart-module and can handle the flaws - have not found the time to iron those out and I doubt it will be interesting enough for others, so I leave it be).
But if you are going to make such a module, I really want to be the first to use it!
#7
Hi Everyone,

I really appreciate the positive feedback! Producing these videos takes a significant amount of time, as I'm constantly researching and refining my skills to get them right. That said, I truly enjoy the process and believe it's a great way to support Trongate and the community.

The new Setup Wizard is a huge step forward. While many of you are more than capable of building your own versions, I think our energy is best spent contributing to the official tool. If we submit our ideas and automations via pull requests, we can build one world-class tool together instead of fragmenting our efforts. What do you think?
#8
Hi,

Just to say, I had originally planned on having it do all the stuff that Simon mentioned but I ran out of time. If anybody wants to have a go at improving it then your pull requests will be warmly welcomed.

Ninja is right. We did an amazing job on the Validacious update and that was a team effort. Let's keep this going. We are at our strongest when we work as a team.

Macho love,

DC
#9
Thanks for the incentive koolmees but my intention was not to branch out and build something completely different to DC's setup wizard. It was more to tweak it so you had the option to automate things more (like DC and Balazs are hinting at with their posts above). I had already done so a while back via an intercepter. Where on a first time run of a fresh install of v2, it modified all setup files, created a db and off you went. I could look at that again with the new setup wizard when time allows.

@DC, I did notice the setup wizard had issues at the create admin stage when a db already existed, might need to look into that.
#10
I'll be happy to look into that but it would be super helpful if you could give me a little more info so that I can recreate the problem.

EDIT: Is the following what you refer to?

1). Login page appears as normal.

2). Submit login causes error - page does not load.



UPDATE: When something doesn't look right the login module should throw a 404 (not found) page. I did notice a missing show_404() method, which I've just fixed a few minutes ago. My speculation is that the error you've encountered is due to a db/table mismatch. In other words, if the new login module is looking for a column or table that doesn't exist then it's throwing an error.

If I'm right then the cure is to somehow get those database tables aligned.

It's probably best if I confirm what the precise error was, with you, before I march forward.