Artfact Manger is a simplistic software to help you manage your own artifacts (scripts/binaries/important files). The system is a bit complicated to setup but I try my best to keep it simple for the guide.
- there needs to be a scripts directory on the server sample:
/var/www/scripts
- the user that connects via ssh needs to have read/write scripts folder to add more and download scripts
- permission management is done via the ssh user
- the script itself needs to be placed in the script directory and needs to be named runner sample:
/var/www/scripts/runner
- configure the script
- web path sample:
http://server/
- remotepath (script folder) sample:
/var/www/scripts
- make the script executable sample:
/var/www/scripts/runner
- web path sample:
- configure the script with the variables on top of the script
- remote path sample:
/var/www/scripts
- remote user sample:
user@server
- remote path sample:
- install the script via ./artifactManager.sh install afterwards
- you will need to source the .bashrc afterwards
To script automatically creates an rss feed for all the artifacts individually. This will allow you to keep track of updates. The usage of the script is mostly client side and includes downloading, updating and uploading of scripts.
artifactManager.sh upload fileName artifactName
artifactManager.sh upload fileNameAsArtifactName
artifactManager.sh update
artifactManager.sh update artifactName
artifactManager.sh refresh artifactName
artifactManager.sh install artifactName
artifactManager.sh list
artifactManager.sh reindex