Skip to content
This repository has been archived by the owner on Sep 10, 2022. It is now read-only.
/ strawberry Public archive

Scripting operations related to setting up a new GNU/Linux installation.

License

Notifications You must be signed in to change notification settings

jesusrp98/strawberry

Repository files navigation

Project: Strawberry

Scripting operations related to setting up a new GNU/Linux installation.

Why?

As a Arch Linux user, I like starting fresh once in a while, because Arch. Well, turns out installing all software I need is kind of tedious. So I'm building, with your help :), a framework that generates the one and only script you need to set up our freshly new install of your favorite GNU/Linux distro.

Features

Strawberry is a tool to create a script that helps you setting up distros. Just proceed with the install of your prefered OS, and execute the file. It will download package, set dotfiles, clone GitHub repos, edit files...

There are several modules built-in in the Strawberry framework:

  • Git: Enter your personal info, like name or email.
  • GitHub repositories cloning: Clone where desire a GitHub repository.
  • Generate SSH key & upload it: Generates a RSA key & upload it to GitHub for authentification.
  • Package managment: Automatic download & install of packages from your desire package manager.
  • Change your default shell: Choose your preferred shell easily.
  • Create links: Create hard & soft link with the 'ln' command.
  • Edit files: Add, edit or remove lines from a specific file in your system.
  • Enviroment variables: Add or edit enviroment variables from your system.
  • Change default shell: Change default system shell with the 'chsh' command.

Setting up Strawberry

Download

Clone the repository with the clone command, or just download the zip.

$ git clone git@github.com:jesusrp98/strawberry.git

Setup

In order to generate your final script, just fill the configuration files under the conf folder, where all user provided information should be. Then, run the setup.sh script in the project folder.

./setup.sh

Edit your script

There is an example provided, called example.sh. Also, the generated script has lots of comments explaining what does what, so editing your script after its incepcion, with a little bit of Bash knowledge shouldn't be difficoult.

Module creation

  • Please read this first before creating your own modules.
  • Use the clean-file.sh script to clean '.conf' files. Collect its output with the 'cat' command.
  • You could output text in color. Use the color.conf file for reference.
  • There is a example final script provided with the project. Use it for reference.
  • Consider printing useful comments to the final script: comments helps.
  • Please, comment your module.

Authors

  • Ángel Heredia - aka anthares101 - GitHub.
  • Carlos Luque - GitHub.
  • Victoriano Pedrajas
  • Miguel Ángel Ramírez
  • Jesús Rodríguez - aka Chechu - GitHub, Twitter.

License

This project is licensed under the GNU GPL v3 License - see the LICENSE.md file for details.

Postdata

  • Arch is kinda tedious sometimes :/
  • Built just for fun :)

About

Scripting operations related to setting up a new GNU/Linux installation.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages