I've added this PR to starting the automation of the laptop configuration as we commented here -> #5.
Basically, there's an install.sh script which is responsible for:
1) Loading config.env variables in order to be used on the configuration process. If there's no file defined, the script asks the user each config variable defined in the config.env.dist file. If the user doesn't change the value, the script keeps the default one.
2) Executing the src/configure.sh script which is responsible for running every configurator defined in the src/configurators path.
Also, I've moved static files to the files directory, organizing them into subfolders named as the related configurator.
Maybe the next steps could be the definition of more variables per configurator or create/find some kind of templating script so customize some files.
Hi @JavierCane @rgomezcasas!
I've added this PR to starting the automation of the laptop configuration as we commented here -> #5.
Basically, there's an
install.sh
script which is responsible for: 1) Loadingconfig.env
variables in order to be used on the configuration process. If there's no file defined, the script asks the user each config variable defined in theconfig.env.dist
file. If the user doesn't change the value, the script keeps the default one.2) Executing the
src/configure.sh
script which is responsible for running every configurator defined in thesrc/configurators
path.Also, I've moved static files to the
files
directory, organizing them into subfolders named as the related configurator.Maybe the next steps could be the definition of more variables per configurator or create/find some kind of templating script so customize some files.
Any suggestions to improve it, let me know :)