CodelyTV / dotfiles

🐢 💨 Speedup your MacOS setup with this fine tuning settings
https://codely.tv
MIT License
305 stars 54 forks source link

Automate laptop configuration using a bash script which takes into account a config.env file #6

Closed xserrat closed 4 years ago

xserrat commented 5 years ago

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) 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.

Any suggestions to improve it, let me know :)

JavierCane commented 5 years ago

Good job @xserrat!

Let me have some time in the next days in order to give you feedback please 🙂👼

xserrat commented 5 years ago

😢

rgomezcasas commented 4 years ago

Deprecated in favour of github.com/codelytv/dotly