PHP Deployment Scripts
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Robert 0c7a9ba7a5 Force neatoDeploy/app check. 2 years ago
app Force neatoDeploy/app check. 2 years ago
build Added sym link to /usr/local/bin/Neato 2 years ago
deploy_files dir deploy_files... 2 years ago
.gitignore use sums 2 years ago
README.md Added sym link to /usr/local/bin/Neato 2 years ago
composer.json fixes from phpstan analyse 2 years ago
make-installer.sh use sums 2 years ago
phpstan.neon.dist fixes from phpstan analyse 2 years ago
static_tests.sh auto install phpstan if not installed by using composer. 2 years ago
testing.md testing info. 2 years ago

README.md

neatoDeploy

Make self-extracting tar file for install

$ git clone https://git.mysnippetsofcode.com/tts/neatoDeploy.git
$ cd neatoDeploy
$ sudo ./make-installer.sh

Copy to Server

Then scp over the neato_deploy.tar.gz.self to your sever.

$ scp neato_deploy.tar.gz.self myservernameHERE:/home/MyUSERNAME_HERE/

Run Installer on Server

on the server:

$ cd /home/MyUSERNAME_HERE
$ sudo ./neato_deploy.tar.gz.self

Clean up

$ rm neato_deploy.tar.gz.self
$ rm install_neato.sh

Make sha256sum (& xor static pwd) on TRUSTED scripts

$ sudo /opt/neatoDeployments/make-sums.sh

Do Deployments...

# Pull and RUN deployment script from your web site
$ Neato http://EXAMPLE_Site.com/MY_Deployment.txt

# OR Run a local file deployment
$ sudo Neato 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 deploy_files directory and will be extracted upon running the file: neato_deploy.tar.gz.self to the /opt/neatoDemployments ROOT DIR.