How to make and unattended installation of OctoberCMS

- 1 answer

Ad

I have a script that creates a virtualhost in the server. Would it be possible to feed the database credentials to the october:install command, rather than type them in manually?

Ad

Answer

Ad

Consider using the october:env command then setting the ENV variables to the relevant configuration values (see the .env file the is created). Once configured, simply run october:up to migrate the database.

Ad
source: stackoverflow.com
Ad