diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..e22c910 --- /dev/null +++ b/LICENSE @@ -0,0 +1,13 @@ + DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE + Version 2, December 2004 + + Copyright (C) 2022 Антон Аксенов + + Everyone is permitted to copy and distribute verbatim or modified + copies of this license document, and changing it is allowed as long + as the name is changed. + + DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. You just DO WHAT THE FUCK YOU WANT TO. diff --git a/Makefile b/Makefile index c433337..5f89fe3 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -# Autogenerated at 04.07.2022 23:25 using ./gen-makefile.sh +# Autogenerated at 04.07.2022 23:52 using ./gen-makefile.sh ##lamp: Apache + php + mariadb lamp: apache php mariadb diff --git a/README.md b/README.md index d589ac8..ff841cd 100644 --- a/README.md +++ b/README.md @@ -76,7 +76,13 @@ where: * `mypack*` is the pack name * `goal*` are script names in `./install` -## Testing in docker +## Testing in docker (not recommended) + +> Note that this is almost useless way to test since you'll meet errors in many cases because dockerized OS is not fully-functional and will never be. +> +> You can use docker to test something **really simple**, e.g. to check general script steps or install cli tools. +> +> In other cases you need virtualized Ubuntu instead of dockerized one, so I strongly recommend you to use [VirtualBox](https://www.virtualbox.org/wiki/Downloads) or your host machine. ```shell # switch to repo dir @@ -85,8 +91,12 @@ cd my-env # build and run container docker build -t myenv . && docker run -it myenv -# oneliner +# or oneliner docker run -it $(docker build -q .) ``` Now you can play around with scripts. + +## License + +[WTFPLv2](LICENSE) diff --git a/gen-makefile.sh b/gen-makefile.sh index 1c8d5cb..b1bcb10 100755 --- a/gen-makefile.sh +++ b/gen-makefile.sh @@ -21,7 +21,7 @@ help: Makefile @echo "Usage:" @echo "\tmake \n" @echo "Available goals:" - @sed -n 's/^##//p' $< | column -t -s ':' | sed -e "s/^/\t/" + @sed -n 's/^##//p' \$< | column -t -s ':' | sed -e "s/^/\t/" ##_: Same as 'cat ./install/' %_: