Setup scripts
This is a collection of setup scripts to use across the projects. Setup scripts are used to speed up project's bootstrap time.
Getting started
If you want to add shetup to your project, or you want to update existing installation, just run this script:
$ curl -L 'http://git.io/o_-kQQ' | bash
Helpers
Here's the list of helpers and tools provided by the core scripts.
check_cmd
Checks if given command is installed.
check_cmd git
check_cmd ruby 2.0.0
run
Executes specified command or script:
run bundle install
run pip install -r requirements.txt
edit_sample_file
Creates a file with content copied from sample one.
edit_sample_file .env
This one will create a file .env
with content from .env.sample
and open editor with it so user can change it.
Updating
If you want to update core scripts, run:
$ https://github.com/nu7hatch/setup/tree/master/update.sh | bash
Contributing
- Fork the project.
- Write awesome code (in a feature branch).
- Test, test, test...!
- Commit, push and send Pull Request.