Update docs
This commit is contained in:
parent
3aaadc2b92
commit
760812c692
3 changed files with 24 additions and 2 deletions
|
@ -1,9 +1,20 @@
|
|||
#!/usr/bin/bash
|
||||
|
||||
# This is a script for running `install.sh`
|
||||
# in a remote server using SSH.
|
||||
# Configure SSH_SERVER and PROJECT_ROOT variables
|
||||
# for using this script.
|
||||
|
||||
###### ATTENTION ######
|
||||
# The install.sh script has a confirmation prompt
|
||||
# because it deletes the content of the PROJECT_ROOT folder,
|
||||
# just put "yes | install.sh" to automatically confirm.
|
||||
|
||||
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
|
||||
SSH_SERVER="example"
|
||||
PROJECT_ROOT=example_directory
|
||||
|
||||
SSH_REMOTE_DIR="${SSH_SERVER}:${PROJECT_ROOT}"
|
||||
|
||||
ssh "${SSH_SERVER}" "mkdir -p ${PROJECT_ROOT}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue