parent
5924d306a6
commit
073f135b5e
@ -1,14 +1,36 @@ |
|||||||
# neatoDeploy |
# neatoDeploy |
||||||
|
## Make self-extracting tar file for install |
||||||
|
``` |
||||||
|
$ git clone https://git.mysnippetsofcode.com/tts/neatoDeploy.git |
||||||
|
$ cd neatoDeploy |
||||||
$ ./make-installer.sh |
$ ./make-installer.sh |
||||||
|
``` |
||||||
Then scp over the neato_deploy.tar.gz.self to your sever. |
Then scp over the neato_deploy.tar.gz.self to your sever. |
||||||
|
|
||||||
on the server: $ ./neato_deploy.tar.gz.self |
on the server: $ sudo ./neato_deploy.tar.gz.self |
||||||
|
|
||||||
## Clean up |
## Clean up |
||||||
|
``` |
||||||
$ rm neato_deploy.tar.gz.self |
$ rm neato_deploy.tar.gz.self |
||||||
$ rm install_neato.sh |
$ rm install_neato.sh |
||||||
|
``` |
||||||
## Run neato_deploy |
## Make sha256sum (& xor static pwd) on TRUSTED scripts |
||||||
|
``` |
||||||
|
$ sudo -i |
||||||
|
$ cd /opt/neatoDemployments |
||||||
|
$./make-sums.sh |
||||||
|
``` |
||||||
|
## Do Deployments... |
||||||
|
``` |
||||||
$ cd /opt/neatoDemployments |
$ cd /opt/neatoDemployments |
||||||
$ ./neato_deploy.sh http://site.com/deployment.txt |
|
||||||
|
# Pull and RUN deployment script from your web site |
||||||
|
$ ./neato_deploy.sh http://EXAMPLE_Site.com/MY_Deployment.txt |
||||||
|
|
||||||
|
# OR Run a local file deployment |
||||||
|
$ sudo ./neato_deploy.sh security_audit |
||||||
|
``` |
||||||
|
|
||||||
|
Note that deployment files are named with the prefix of deploy_ |
||||||
|
and end with .php, they must be a valid PHP script... |
||||||
|
|
||||||
|
A few example deployments are given from the config_files directory and will be extracted upon running the file: neato_deploy.tar.gz.self to the /opt/neatoDemployments ROOT DIR. |
||||||
Loading…
Reference in new issue