Merge pull request #759 from progrium/apps-plugin

Create an `apps` core plugin.
This commit is contained in:
Jose Diaz-Gonzalez
2014-11-16 02:36:01 -05:00
6 changed files with 89 additions and 36 deletions

View File

@@ -53,12 +53,14 @@ config_styled_hash () {
config_restart_app() {
APP="$1";
echo "-----> Releasing $APP ..."
dokku release $APP
echo "-----> Release complete!"
echo "-----> Deploying $APP ..."
dokku deploy $APP
echo "-----> Deploy complete!"
if [[ -f "$DOKKU_ROOT/$APP/CONTAINER" ]]; then
echo "-----> Releasing $APP ..."
dokku release $APP
echo "-----> Release complete!"
echo "-----> Deploying $APP ..."
dokku deploy $APP
echo "-----> Deploy complete!"
fi
}
config_write() {