Appearance
Stand alone installation
Platform
Linux
Deploy on a Linux like server running the below shell script:
shell
curl https://dev.correllink.com/oneshot-deploy-v2/scripts/build_server.sh | sudo bash /dev/stdin [deploy mode] [your application name] <pull URL>
Windows
Use a gitbash, cygwin or similar bash tool and run as above.
Deploy modes
withdb
Installs postgres on the same machine as the vasat and auto configures the DB Credentials. Adds details into /opt/conf/app_name.env Allows Jenkins to access machine for push updates to software
nodb
Only install JVM and application. Config /opt/conf/app_name.env needs to be updated manually for DB settings. This is useful when using RDS or other external DB. Allows Jenkins to access machine for push updates to software
pull-update
Only install JVM and application. Config /opt/conf/app_name.env needs to be updated manually for DB settings. Requres a third 'pull URL' argument. The service first will pull from this URL every time the service starts and update the software. This is useful for autoscaling groups of servers that power up/down automatically to ensure the latest version is installed.