The framework that includes all of the absolute essential code to bootstrap a fully functional bash+git project, leveraging our highly refined and standardized dna functions.
It's extremely simple:
- 1. Start your new project by cloning this repo.
- 2. Edit and customize your
functionsfile:- 2.1. Define your variables below the
Insert your variables hereline. - 2.2. Insert your global project-related functions below the
Insert project functions hereline. - 2.3. Add your previously defined functions below the
Add your install-time functions hereline to have those executed during the install.
- 2.1. Define your variables below the
- 3. Edit and customize your
restorefile:- 3.1. Add your restore script arguments below the
Read any project-specific restore script argumentsline. - 3.2. Edit the settings below the
Specify your restore-time settings hereline to fit your restore needs.
- 3.1. Add your restore script arguments below the
project_name="hello-world"
author_name="openspace42"
Set skip_install_time_backup to y if your project stores no data on end users' machines that could go lost during a re-install or update
Set backup_ref_dir to the directory that has the most impactful size when performing a backup [such as /var/www/ for nginx-related projects]
bash
bash <project_name>/setup