-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Better Install System #8
Comments
I think the general best practice is an interactive Bash script that just installs dependencies and does some rudimentary set up for you, with instructions on how to complete things for yourself. Though, instructions to Also, good to see you again. :) |
I think that for right now I will create a basic script that installs the dependancies but also runs the setup that So the flow would go like this:
Later, the script could get more advanced if need be. |
Hmm... Not too sure about hhvm; I'm a little worried about compatibility there, because I don't recall whether they've fixed some of their compat bugs yet. Otherwise, that sounds fine. Creating the admin user would be a bit annoying given the CSRF protections in place and lack of an API, but I suppose you could just hack together a script just for that that runs independently of sleeti. Had I designed sleeti today, I'd have taken a number of different routes. But it's a lot to refactor at this point. |
I ran through most of the dependancies and it looks like most of them work and support hhvm, except for guzzle and possible twig. I will have to do further testing on that front. I was planning on probably mocking the Slim Environment in order to create the users and such. I think that that way would be the easiest. |
Are there any reasonable performance gains that justify breaking compatibility with popular libraries and possibly performing a major refactoring? From what I know, and after discussing this with a few other people, I'm not convinced HHVM is worth breaking compatibility for minuscule performance gains. |
I'll have to do further benchmarks on my end. For now I'll stick with php-fpm with nginx. |
What were your thoughts a better install system. I could create a shell script that you basically do
curl https://website.org/install.sh | sudo bash
that would try and install all dependancies like MariaDB/MySQL, nginx, php-fpm/hhvm, and run setup. Or I could create a deb file that you just add to the apt repo list and it installs from there. Or I could make an ncurses interface that installs the program using a pesudo gui. Up to you on how it goes.The text was updated successfully, but these errors were encountered: