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.
|
|
2 years ago | |
|---|---|---|
| app | 2 years ago | |
| build | 2 years ago | |
| deploy_files | 2 years ago | |
| .gitignore | 2 years ago | |
| README.md | 2 years ago | |
| composer.json | 2 years ago | |
| make-installer.sh | 2 years ago | |
| phpstan.neon.dist | 2 years ago | |
README.md
neatoDeploy
Make self-extracting tar file for install
$ git clone https://git.mysnippetsofcode.com/tts/neatoDeploy.git
$ cd neatoDeploy
$ nano app/neato.php
# Change the line that reads $pk = "Passphase"; // XOR for sha256sum, CHANGE ME!!
# Save it, then run:
$ ./make-installer.sh
Then scp over the neato_deploy.tar.gz.self to your sever.
on the server: $ 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 -i
$ cd /opt/neatoDemployments
$ ./make-sums.sh
# if done as ROOT type $ exit
# to exit!
Do Deployments...
$ cd /opt/neatoDemployments
# 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 deploy_files directory and will be extracted upon running the file: neato_deploy.tar.gz.self to the /opt/neatoDemployments ROOT DIR.