mirror of
https://github.com/dokku/dokku.git
synced 2025-12-15 19:47:42 +01:00
feat: add a helper binary to deploy a test app for local development
This commit is contained in:
14
.devcontainer/bin/deploy-test-app
Executable file
14
.devcontainer/bin/deploy-test-app
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
main() {
|
||||
declare APP="${1:-test}"
|
||||
|
||||
if ! dokku apps:exists $APP; then
|
||||
dokku apps:create $APP
|
||||
fi
|
||||
|
||||
dokku builder-herokuish:set $APP allowed true
|
||||
dokku git:sync --build $APP https://github.com/dokku/smoke-test-app.git
|
||||
}
|
||||
|
||||
main "$@"
|
||||
Reference in New Issue
Block a user