Browse Source
Add more documentation and code to box installation
patch-1
nolim1t
5 years ago
No known key found for this signature in database
GPG Key ID: F6287B82CC84BCBD
1 changed files with
10 additions and
0 deletions
-
install-box.sh
|
|
@ -11,9 +11,19 @@ |
|
|
|
# Install the docker-compose box to the current working directory |
|
|
|
# Pre-requisites: git |
|
|
|
|
|
|
|
echo "Cloning to current working directory from github..." |
|
|
|
git init |
|
|
|
git remote add origin https://github.com/lncm/thebox-compose-system.git |
|
|
|
git fetch |
|
|
|
git reset origin/master |
|
|
|
git checkout -t origin/master |
|
|
|
git reset --hard |
|
|
|
|
|
|
|
echo "Removing stuff we don't need" |
|
|
|
rm -fr .git |
|
|
|
rm -fr README.md |
|
|
|
rm -fr LICENSE |
|
|
|
rm -fr install-box.sh |
|
|
|
|
|
|
|
echo "Installing complete" |
|
|
|
|
|
|
|