-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Automating the Cachet installation #2924
Comments
@anthonybocci I did start a fully automated solution in #2290 with @joecohens extending it to create the user in #2291 |
Hi @jbrooksuk and thank you for your comment. I've looked at the command |
Yeah, that could be added to the command. Do you want to handle that yourself? We just need a flag which skips any confirmations with a default of yes. |
Alternatively, you could pipe into |
Indeed it could be piped to |
👍 |
Updated the labels :) |
Replaced by #3379. |
Hi,
On Slack I discussed with someone that needed to automate the installation of Cachet, and because I'm interested by this feature I create this issue in order to contribute then.
The command
app:install
creates the tables in the database, but does not fill thesettings
nor theusers
table.I would like to add an optional parameter (or create a subclass) to
app:install
in order to give as parameter the path to a file that contains the settings to write into the database. So, the installation would be fully automated.For now even after executing
app:install
the database is empty, so it's mandatory to launch the setup page that asks for a user, mail drivers, app name and so on.Also if I've already set the
.env
file with Cache driver, Mail driver and so on, is it required to ask for them on the setup page? Or at least pre-fill the select box could be a help.I've looked in the
app/Console/Command
directory but all the commands inside arecachet:*
and I don't know where theapp:install
command is located. Also, do you have guidelines about that? Like the usage of a json or any other file type to manage this configuration.Regards,
Cachet 2.4
Commit number 2d8bf2f
The text was updated successfully, but these errors were encountered: