{"_id":"app-deploy","_rev":"25-88afe2da0e4173954e102a53b7eb86ad","name":"app-deploy","description":"Deployment helper","dist-tags":{"latest":"0.6.3"},"versions":{"0.1.1":{"name":"app-deploy","version":"0.1.1","description":"Deployment helper","main":"index.js","scripts":{"test":"mocha"},"bin":{"app-deploy":"index.js"},"repository":{"type":"git","url":"https://github.com/boo1ean/app-deploy.git"},"keywords":["deploy","app-helpers"],"author":{"name":"Egor Gumenyuk","email":"boo1ean0807@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/boo1ean/app-deploy/issues"},"homepage":"https://github.com/boo1ean/app-deploy","dependencies":{"bluebird":"^2.9.6","configstore":"^0.3.2","lodash":"^3.1.0","minimatch":"^2.0.1"},"gitHead":"e0aef7417b27ff94b9c0cf55cc9168c2525726ea","_id":"app-deploy@0.1.1","_shasum":"46e622ba4b4ad4da64256b6ee6e82bd4e6dd4ed5","_from":".","_npmVersion":"1.4.17","_npmUser":{"name":"boo1ean","email":"boo1ean0807@gmail.com"},"maintainers":[{"name":"boo1ean","email":"boo1ean0807@gmail.com"}],"dist":{"shasum":"46e622ba4b4ad4da64256b6ee6e82bd4e6dd4ed5","tarball":"https://registry.npmjs.org/app-deploy/-/app-deploy-0.1.1.tgz","integrity":"sha512-AdiyZs6djAVPWRObcj1nOQ45oZB6sMOpQjN0l7kKwQEj93f47X1rbGZDc6sO4mWXIplClC8mU+h43FaB60kj/w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE+bRdoRNLNh5Aucrn7YvK4C+RSgATMCvuP0fHgl3YirAiEAka2WQV8hg/V+6xOHuzNP/82BuCiaVSi1rfv30gRGQ4k="}]}},"0.2.0":{"name":"app-deploy","version":"0.2.0","description":"Deployment helper","main":"index.js","scripts":{"test":"mocha"},"bin":{"ad":"bin/app-deploy"},"repository":{"type":"git","url":"https://github.com/boo1ean/app-deploy.git"},"keywords":["deploy","app-helpers"],"author":{"name":"Egor Gumenyuk","email":"boo1ean0807@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/boo1ean/app-deploy/issues"},"homepage":"https://github.com/boo1ean/app-deploy","dependencies":{"bluebird":"^2.9.6","configstore":"^0.3.2","lodash":"^3.1.0","minimatch":"^2.0.1","realist":"^0.2.5","shelljs":"^0.3.0","text-table":"^0.2.0"},"gitHead":"33860efe13fbcfd72f9130b2ad34d83781ab26e7","_id":"app-deploy@0.2.0","_shasum":"011986444967e8f6e7b25176f93341185663a898","_from":".","_npmVersion":"1.4.17","_npmUser":{"name":"boo1ean","email":"boo1ean0807@gmail.com"},"maintainers":[{"name":"boo1ean","email":"boo1ean0807@gmail.com"}],"dist":{"shasum":"011986444967e8f6e7b25176f93341185663a898","tarball":"https://registry.npmjs.org/app-deploy/-/app-deploy-0.2.0.tgz","integrity":"sha512-9QHz1RVFzToixGLRI9XPZkcmTWq401sGwVoLVjXVzd2VLVkr2eLLx/WlJKd0iSMhoNwveeXSJO3ElzzzcNpXzg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDbMeqtaZQFXZ5XjpUq30wSZfdtuPCXcgSVKqWs4qFVkwIgZVT9GVFCuFUkzZLw3Ob06arDk21LaPm1R0rdxHyo2r4="}]}},"0.2.1":{"name":"app-deploy","version":"0.2.1","description":"Deployment helper","main":"index.js","scripts":{"test":"mocha"},"bin":{"ad":"bin/app-deploy"},"repository":{"type":"git","url":"https://github.com/boo1ean/app-deploy.git"},"keywords":["deploy","app-helpers"],"author":{"name":"Egor Gumenyuk","email":"boo1ean0807@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/boo1ean/app-deploy/issues"},"homepage":"https://github.com/boo1ean/app-deploy","dependencies":{"configstore":"^0.3.2","lodash":"^3.1.0","minimatch":"^2.0.1","realist":"^0.2.5","shelljs":"^0.3.0","text-table":"^0.2.0"},"gitHead":"dd8b1839fed3d3c3114ff5e81adbd1608ceb8813","_id":"app-deploy@0.2.1","_shasum":"d50631f6f908fc74a98949f200ef982e6a36b2f2","_from":".","_npmVersion":"1.4.17","_npmUser":{"name":"boo1ean","email":"boo1ean0807@gmail.com"},"maintainers":[{"name":"boo1ean","email":"boo1ean0807@gmail.com"}],"dist":{"shasum":"d50631f6f908fc74a98949f200ef982e6a36b2f2","tarball":"https://registry.npmjs.org/app-deploy/-/app-deploy-0.2.1.tgz","integrity":"sha512-D1bmuDyge2mxNjCDb6pVF1ferArYoXlAxiUgLaE+trd0fx0CMD46BG62MzcmgR1xNrW2RmMUUbtiZyQIgjpGlQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIQDxA+B1HDJWPpqE4V7o6apOEjZ2CLqwp11u99vGUNq5YAIfLr3BecIXIyxdbzffNxmeYc7gDGLB0s1rTI2yt6MD2Q=="}]}},"0.3.0":{"name":"app-deploy","version":"0.3.0","description":"Deployment helper","main":"index.js","scripts":{"test":"mocha"},"bin":{"ad":"bin/app-deploy"},"repository":{"type":"git","url":"https://github.com/boo1ean/app-deploy.git"},"keywords":["deploy","app-helpers"],"author":{"name":"Egor Gumenyuk","email":"boo1ean0807@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/boo1ean/app-deploy/issues"},"homepage":"https://github.com/boo1ean/app-deploy","dependencies":{"configstore":"^0.3.2","lodash":"^3.1.0","minimatch":"^2.0.1","realist":"^0.2.5","shelljs":"^0.3.0","text-table":"^0.2.0"},"gitHead":"4dada8fba8a6abd1e0d3fb83c270462ab1929fbe","_id":"app-deploy@0.3.0","_shasum":"e739f860cbf202317fafde2fff54c15c7ae4e580","_from":".","_npmVersion":"1.4.17","_npmUser":{"name":"boo1ean","email":"boo1ean0807@gmail.com"},"maintainers":[{"name":"boo1ean","email":"boo1ean0807@gmail.com"}],"dist":{"shasum":"e739f860cbf202317fafde2fff54c15c7ae4e580","tarball":"https://registry.npmjs.org/app-deploy/-/app-deploy-0.3.0.tgz","integrity":"sha512-yuno4yfIcUoQn2iq4hE7N4la3ehxsipchjOK/rKf0dUjpLOyusTgw4sEF40A0FpB89SEXFZ1bZN0zCFNxb5QzA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC9k8uKAiTvuKGGCBWGDohgr11rvTvDzKFbRiv3JlWAMwIgB71f2zBUgb5OvNE5Tz5h6QX0Gcgs15ktu7GWyLmPc4U="}]}},"0.3.1":{"name":"app-deploy","version":"0.3.1","description":"Deployment helper","main":"index.js","scripts":{"test":"mocha"},"bin":{"ad":"bin/app-deploy"},"repository":{"type":"git","url":"https://github.com/boo1ean/app-deploy.git"},"keywords":["deploy","app-helpers"],"author":{"name":"Egor Gumenyuk","email":"boo1ean0807@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/boo1ean/app-deploy/issues"},"homepage":"https://github.com/boo1ean/app-deploy","dependencies":{"configstore":"^0.3.2","lodash":"^3.1.0","minimatch":"^2.0.1","realist":"^0.2.5","shelljs":"^0.3.0","text-table":"^0.2.0"},"gitHead":"1e7fff45b56933097b2f35e767bc6f395de260b3","_id":"app-deploy@0.3.1","_shasum":"0c4ed94c111f4bf235dc734371a9c2c5d3267fc5","_from":".","_npmVersion":"1.4.17","_npmUser":{"name":"boo1ean","email":"boo1ean0807@gmail.com"},"maintainers":[{"name":"boo1ean","email":"boo1ean0807@gmail.com"}],"dist":{"shasum":"0c4ed94c111f4bf235dc734371a9c2c5d3267fc5","tarball":"https://registry.npmjs.org/app-deploy/-/app-deploy-0.3.1.tgz","integrity":"sha512-3ZWfmidZTRTMjaxV4WZZtBLVPGnoIwgn71o14OBcv3OvtpBxp/udbiNQtja30JYkf6nevCN7dYmtzhhJikOmaQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCs+iKdk7Bi9v6s0VpADcxNb0o1doFUpv24tKuFbgrHjQIhAO1Q/ILnURf5usSiuEpucLSH1k1DU8p7ZDhuSNYlTsa0"}]}},"0.4.0":{"name":"app-deploy","version":"0.4.0","description":"Deployment helper","main":"index.js","scripts":{"test":"mocha"},"bin":{"ad":"bin/app-deploy"},"repository":{"type":"git","url":"https://github.com/boo1ean/app-deploy.git"},"keywords":["deploy","app-helpers"],"author":{"name":"Egor Gumenyuk","email":"boo1ean0807@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/boo1ean/app-deploy/issues"},"homepage":"https://github.com/boo1ean/app-deploy","dependencies":{"all-requires":"^0.1.1","bluebird":"^2.9.9","configstore":"^0.3.2","lodash":"^3.1.0","minimatch":"^2.0.1","realist":"^0.2.5","shelljs":"^0.3.0","text-table":"^0.2.0"},"gitHead":"e2bc78c01420cdf21b91532fa04d7c157994f9e0","_id":"app-deploy@0.4.0","_shasum":"62d13d8adf64ed3dbed0630b0fe881591152b0f2","_from":".","_npmVersion":"1.4.17","_npmUser":{"name":"boo1ean","email":"boo1ean0807@gmail.com"},"maintainers":[{"name":"boo1ean","email":"boo1ean0807@gmail.com"}],"dist":{"shasum":"62d13d8adf64ed3dbed0630b0fe881591152b0f2","tarball":"https://registry.npmjs.org/app-deploy/-/app-deploy-0.4.0.tgz","integrity":"sha512-opvNrqqcEEcuuBL6o9wp7O70pHbghtSQJov6DkX4pEuze/IKYUodh8xccJW+nE68RME/Va0JRvYk6sq/enlSHQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCxLu3OSFL7UEVz5TRrRl4gw/y3e7XEnuLcwAhzC9LuYAIhAJL6mglcWkF8qb33SCpCPHr/qYloLRGEg3LSiFxzFK0X"}]}},"0.5.0":{"name":"app-deploy","version":"0.5.0","description":"Deployment helper","main":"index.js","scripts":{"test":"mocha"},"bin":{"ad":"bin/app-deploy"},"repository":{"type":"git","url":"https://github.com/boo1ean/app-deploy.git"},"keywords":["deploy","app-helpers"],"author":{"name":"Egor Gumenyuk","email":"boo1ean0807@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/boo1ean/app-deploy/issues"},"homepage":"https://github.com/boo1ean/app-deploy","dependencies":{"all-requires":"^0.1.1","bluebird":"^2.9.9","configstore":"^0.3.2","lodash":"^3.1.0","minimatch":"^2.0.1","realist":"^0.2.5","shelljs":"^0.3.0","text-table":"^0.2.0"},"gitHead":"7c940b89f173a1f7145378270a1552a6dae01e03","_id":"app-deploy@0.5.0","_shasum":"af237c896f9e27d9a6bd7cbf02acddcf2ade658a","_from":".","_npmVersion":"1.4.17","_npmUser":{"name":"boo1ean","email":"boo1ean0807@gmail.com"},"maintainers":[{"name":"boo1ean","email":"boo1ean0807@gmail.com"}],"dist":{"shasum":"af237c896f9e27d9a6bd7cbf02acddcf2ade658a","tarball":"https://registry.npmjs.org/app-deploy/-/app-deploy-0.5.0.tgz","integrity":"sha512-HGqnnajkYN5CwMUd0ev1l0/sNz53EWD+NR2oFZ9UXLLuv0UYVASMeXEBARLVKTdDBIDS2hLjFR3P1gZl/JSS2A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBEa/1toNqW9R0KZZvohluIfpfUIi6aejFwavUQ/PidKAiEAgAWf24+t8NFO7XJPqrVsAUOICPqSfVb2doPxd3nx8hk="}]}},"0.5.1":{"name":"app-deploy","version":"0.5.1","description":"Deployment helper","main":"index.js","scripts":{"test":"mocha"},"bin":{"ad":"bin/app-deploy"},"repository":{"type":"git","url":"https://github.com/boo1ean/app-deploy.git"},"keywords":["deploy","app-helpers"],"author":{"name":"Egor Gumenyuk","email":"boo1ean0807@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/boo1ean/app-deploy/issues"},"homepage":"https://github.com/boo1ean/app-deploy","dependencies":{"all-requires":"^0.1.1","bluebird":"^2.9.9","configstore":"^0.3.2","lodash":"^3.1.0","minimatch":"^2.0.1","realist":"^0.2.5","shelljs":"^0.3.0","text-table":"^0.2.0"},"gitHead":"2388d2f7bf9e6ec17e1dc4faa312f34952c2746b","_id":"app-deploy@0.5.1","_shasum":"07ad03aeb63f3359a6c564ff5af3c6391bd06a3e","_from":".","_npmVersion":"1.4.17","_npmUser":{"name":"boo1ean","email":"boo1ean0807@gmail.com"},"maintainers":[{"name":"boo1ean","email":"boo1ean0807@gmail.com"}],"dist":{"shasum":"07ad03aeb63f3359a6c564ff5af3c6391bd06a3e","tarball":"https://registry.npmjs.org/app-deploy/-/app-deploy-0.5.1.tgz","integrity":"sha512-PUzUP5/G2CWcwc+CqVzO84KLvm5FiaGt3ia0Pjs54U/2tX9LbaKkA86IWOz8CBHfwRTwntMrRfzoko7MUcwRDw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDmpPBgCXSUGrsHdXsHpgu0NRpvXOxVZhtSJ9noZ0Mn9gIhANDCvHs3S/jODGObHs6/GurlSm+Z/Urybfzo8i2dJSFz"}]}},"0.6.0":{"name":"app-deploy","version":"0.6.0","description":"Deployment helper","main":"index.js","scripts":{"test":"mocha"},"bin":{"ad":"bin/app-deploy"},"repository":{"type":"git","url":"https://github.com/boo1ean/app-deploy.git"},"keywords":["deploy","app-helpers"],"author":{"name":"Egor Gumenyuk","email":"boo1ean0807@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/boo1ean/app-deploy/issues"},"homepage":"https://github.com/boo1ean/app-deploy","dependencies":{"all-requires":"^0.1.1","bluebird":"^2.9.9","configstore":"^0.3.2","lodash":"^3.1.0","minimatch":"^2.0.1","realist":"^0.2.5","shelljs":"^0.3.0","text-table":"^0.2.0"},"gitHead":"38c54139e68fc70635c8012069cdbc58c446b8ba","_id":"app-deploy@0.6.0","_shasum":"e4ff32bee5e12bc1d3bf92bf43c8e974c4b3ba62","_from":".","_npmVersion":"1.4.17","_npmUser":{"name":"boo1ean","email":"boo1ean0807@gmail.com"},"maintainers":[{"name":"boo1ean","email":"boo1ean0807@gmail.com"}],"dist":{"shasum":"e4ff32bee5e12bc1d3bf92bf43c8e974c4b3ba62","tarball":"https://registry.npmjs.org/app-deploy/-/app-deploy-0.6.0.tgz","integrity":"sha512-qkffGpPsVY3ID3lPlxnReWm7TGHcXnQWwjRftxlLZIlw8b+l8kD6r+Hxmo8s14kice12iyoowQEr+s6UqyHDiA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE+BMh1JwErbBsCN8GqD5p4PMjkOeJ/p2WmG7o2/5e2yAiEAnx1w/cxL2yhnS6BDQEi4kSQLr7AFBaBDg7pnxdK0dkc="}]}},"0.6.1":{"name":"app-deploy","version":"0.6.1","description":"Deployment helper","main":"index.js","scripts":{"test":"mocha"},"bin":{"ad":"bin/app-deploy"},"repository":{"type":"git","url":"https://github.com/boo1ean/app-deploy.git"},"keywords":["deploy","app-helpers"],"author":{"name":"Egor Gumenyuk","email":"boo1ean0807@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/boo1ean/app-deploy/issues"},"homepage":"https://github.com/boo1ean/app-deploy","dependencies":{"all-requires":"^0.1.1","bluebird":"^2.9.9","configstore":"^0.3.2","lodash":"^3.1.0","minimatch":"^2.0.1","realist":"^0.2.5","shelljs":"^0.3.0","text-table":"^0.2.0"},"gitHead":"25766d56ebffd586afb5bb8b6d377f5ea24d5145","_id":"app-deploy@0.6.1","_shasum":"aef9d689766f8edd061da79924a9a6e07879b931","_from":".","_npmVersion":"1.4.17","_npmUser":{"name":"boo1ean","email":"boo1ean0807@gmail.com"},"maintainers":[{"name":"boo1ean","email":"boo1ean0807@gmail.com"}],"dist":{"shasum":"aef9d689766f8edd061da79924a9a6e07879b931","tarball":"https://registry.npmjs.org/app-deploy/-/app-deploy-0.6.1.tgz","integrity":"sha512-7Q/9nKKKWPbDU2jyA9qOseBTYkBeI3r9rI6GjwF+n0VofrojlPIjWu6q0u91yU1cSgS/RRt9lHlKhHjUgxt+dg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDZazQ6QpaqQHAGfkne1SWXU7fb3Aoj/1BbxfVOPyLOwAIhAMqsNujFRaWi79flXmz1pKYgGRiul5zbP0gEBvfZIBqb"}]}},"0.6.2":{"name":"app-deploy","version":"0.6.2","description":"Deployment helper","main":"index.js","scripts":{"test":"mocha"},"bin":{"ad":"bin/app-deploy"},"repository":{"type":"git","url":"https://github.com/boo1ean/app-deploy.git"},"keywords":["deploy","app-helpers"],"author":{"name":"Egor Gumenyuk","email":"boo1ean0807@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/boo1ean/app-deploy/issues"},"homepage":"https://github.com/boo1ean/app-deploy","dependencies":{"all-requires":"^0.1.2","bluebird":"^2.9.9","configstore":"^0.3.2","lodash":"^3.1.0","minimatch":"^2.0.1","realist":"^0.2.5","shelljs":"^0.3.0","text-table":"^0.2.0"},"gitHead":"77bf7a17b0b944c1f429e3fb12a52034f979a80c","_id":"app-deploy@0.6.2","_shasum":"ba31e5277068707895a2b947b9d420a1b607d3fe","_from":".","_npmVersion":"1.4.17","_npmUser":{"name":"boo1ean","email":"boo1ean0807@gmail.com"},"maintainers":[{"name":"boo1ean","email":"boo1ean0807@gmail.com"}],"dist":{"shasum":"ba31e5277068707895a2b947b9d420a1b607d3fe","tarball":"https://registry.npmjs.org/app-deploy/-/app-deploy-0.6.2.tgz","integrity":"sha512-DNn8ogWy9bd5AzG0ys7VF2cZamqXemNzaLN4veAh0sfugvErnF3BTidlW4+C+ZEIwS651iT79puRr6UUaTn9Dw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDgj9Qk/VoA2+vsCdRkVGznMQqbb2fNKfMYSQ9YMMVM4gIhAO6UWIONh28NqKDdqg8ZxS3JuO9i/5W48kbbUa1H09el"}]}},"0.6.3":{"name":"app-deploy","version":"0.6.3","description":"Deployment helper","main":"index.js","scripts":{"test":"mocha"},"bin":{"ad":"bin/app-deploy"},"repository":{"type":"git","url":"git+https://github.com/boo1ean/app-deploy.git"},"keywords":["deploy","app-helpers"],"author":{"name":"Egor Gumenyuk","email":"boo1ean0807@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/boo1ean/app-deploy/issues"},"homepage":"https://github.com/boo1ean/app-deploy","dependencies":{"all-requires":"^0.1.2","bluebird":"^2.9.9","configstore":"^0.3.2","lodash":"^3.1.0","minimatch":"^2.0.1","realist":"^0.2.5","shelljs":"^0.3.0","text-table":"^0.2.0"},"gitHead":"57b110c1beb40085565742852bddac65cde663ed","_id":"app-deploy@0.6.3","_shasum":"83b7654cf107410030a5f40f89c5b04a03870ea5","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"boo1ean","email":"boo1ean0807@gmail.com"},"dist":{"shasum":"83b7654cf107410030a5f40f89c5b04a03870ea5","tarball":"https://registry.npmjs.org/app-deploy/-/app-deploy-0.6.3.tgz","integrity":"sha512-aWwWVqAT52L9yoCRzKnEirTddvRFQ3fKLu/ampA4MZZYsC/Wb2o1V8EX4mw6OWdIimPDNhyZxbNNqzkyEkOXjA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICgbtx+ECfnQOhChJmN5YD8Ao4qXb6E4CQGhZdina7z+AiAd/XIWZb7+8ggSv8L1aierEztNQ4Ly1K/WQfUW312hww=="}]},"maintainers":[{"name":"boo1ean","email":"boo1ean0807@gmail.com"}]}},"readme":"## app-deploy\n\nThrifty incremental deploys.\n\nRough algorithm description:\n\n1. Figure out which files were changed since last deploy (through `git diff`).\n2. Figure out which tasks should be executed.\n3. Execute tasks.\n\n## Installation\n\n```\nnpm install -g app-deploy\n```\n\n## Usage\n\nDeploy app to production:\n\n```\nad deploy production\n```\n\nLooks nice but first you need to configure!\n\n## Initial notices\n\n`app-deploy` is dedicated to do incremental deploy of already running app/service, first time you\nshould setup and run your application manually.\n\nIt's not dedicated to deploy \"new app instances\".\n\n## Triggers deploy config\n\nTriggers config must be located in project root (and must be named `app-deploy.json`).\nIt consists of simple rules and triggers which are used to figure out how to deploy app.\n\nSample config describes conditions and triggers for `app-deploy` cli util:\n\n```js\n{\n\t\"triggers\": {\n\t\t// if bower.json was changed since last deploy then execute \"bower install\"\n\t\t\"bower.json\"   : \"bower intall\",\n\n\t\t// if bower.json was changed since last deploy then execute \"npm install\"\n\t\t\"package.json\" : \"npm intall\",\n\n\t\t// if there are any changed or added fiels matching database/** globa pattern\n\t\t// then execute \"knex migrate:latest\"\n\t\t\"database/**\"  : \"knex migrate:latest\",\n\n\t\t// if any local dependency which are required by any file under web/**\n\t\t// were changed then execute \"pm2 restart all\"\n\t\t\"+web\": \"pm2 restart all\"\n\t}\n}\n```\n\nEach \"trigger\" consits of condition (glob or requires matching pattern) and shell command   \nwhich will be executed if condition is true (if files diff since last deploy matches condition pattern)\n\n## Add remote server (for remote deploy)\n\nAdd remote:\n\n```\nad remote add <remote name> <ssh connection string> [--env]\n```\n\nExample adding `my-localhost-server` remote:\n\n```\nad remote add my-localhost-server root@127.0.0.1:/var/www/application --env=\"override_some_stuff=123\"\n```\n\nTo work with remote deploys you must configure key-based ssh auth to work from your local machine to remote server.   \n[How To Configure SSH Key-Based Authentication on a Linux Server](https://www.digitalocean.com/community/tutorials/how-to-configure-ssh-key-based-authentication-on-a-linux-server)\n\nNow we are ready to deploy!\n\n```\nad deploy my-localhost-server\n```\n\n## License\nMIT\n","maintainers":[{"name":"boo1ean","email":"boo1ean0807@gmail.com"}],"time":{"modified":"2022-06-13T03:16:07.659Z","created":"2015-02-06T13:21:23.043Z","0.1.1":"2015-02-06T13:21:23.043Z","0.2.0":"2015-02-10T19:55:04.684Z","0.2.1":"2015-02-10T20:07:46.638Z","0.3.0":"2015-02-11T07:02:03.674Z","0.3.1":"2015-02-12T11:38:08.790Z","0.4.0":"2015-02-16T21:13:50.891Z","0.5.0":"2015-02-16T21:48:33.050Z","0.5.1":"2015-02-16T21:59:57.476Z","0.6.0":"2015-02-17T08:02:49.846Z","0.6.1":"2015-02-17T08:19:32.157Z","0.6.2":"2015-03-15T10:48:24.842Z","0.6.3":"2016-01-14T14:52:46.365Z"},"homepage":"https://github.com/boo1ean/app-deploy","keywords":["deploy","app-helpers"],"repository":{"type":"git","url":"git+https://github.com/boo1ean/app-deploy.git"},"author":{"name":"Egor Gumenyuk","email":"boo1ean0807@gmail.com"},"bugs":{"url":"https://github.com/boo1ean/app-deploy/issues"},"license":"MIT","readmeFilename":"README.md"}