Closed JakeBooher closed 11 years ago
I agree.
Just to be fancy, we can even write it as a controller. I think it'll be good to show of the new features of what ezRPG 2 can do as well. But, I did like tags' installer he made for ez1.2 as well.
What do we need the installer to do? It would be good if we can write-out the steps that need to take place before we go about making it.
Set up database (tables, data). Create an "User"/Administrator account.
I made the installer for ez1.x haha. Also, I don't think just having a single controller run the entire installer is efficient. I was thinking having the directory "install" inside public, and in that is index.php that opens a new instance of swiftlet, and that instance can have it's own modules, but obviously use the same models and such as the normal 'front end'
Depends on what needs to be done, really. Unless we need to do some fancy stuff I'd suggest we keep it simple. One file should be enough.
One file would be enough, except for the fact that that makes it a complete pain in the ass to have an upgrade process between 2.x versions. I'll take care of making the entire installer, just want some input. If you have it running it's own instance of swiftlet you will be able to have a file for each upgrade (for example, one file that upgrades 2.0.0 to 2.0.1, and another that is 2.0.1 to 2.0.2 then it just runs each upgrade so everything is exactly how it needs to be no matter what version they are upgrading from. IMO we should NOT oversimplify the installer as it is one of the most important pieces of the entire software.
Well, point taken. I'll let you guys hand this one.
A problem with routes persist.
Seems that one of the last commits created some warnings on the installer
Warning: set_error_handler() expects the argument (ezRPG\Library\App::error) to be a valid callback in E:\xampp\htdocs\ezrpg-2.0.X\Web\index.php on line 44
Warning: scandir(E:\xampp\htdocs\ezrpg-2.0.X\Library/Module/Helper,E:\xampp\htdocs\ezrpg-2.0.X\Library/Module/Helper): The system cannot find the file specified. (code: 2) in E:\xampp\htdocs\ezrpg-2.0.X\Library\Module.php on line 35
Warning: scandir(E:\xampp\htdocs\ezrpg-2.0.X\Library/Module/Helper): failed to open dir: No such file or directory in E:\xampp\htdocs\ezrpg-2.0.X\Library\Module.php on line 35
Warning: scandir(): (errno 2): No such file or directory in E:\xampp\htdocs\ezrpg-2.0.X\Library\Module.php on line 35
Warning: Invalid argument supplied for foreach() in E:\xampp\htdocs\ezrpg-2.0.X\Library\Module.php on line 35
ezRPGv2 will be needing an installer IMO before we make it public (even if it is still not in a 'stable' state).