fix image, format bootstrap
This commit is contained in:
@@ -25,7 +25,7 @@ clean-shokku() {
|
|||||||
|
|
||||||
if dokku ssh-keys:list "$SHOKKU_DOKKU_USER" &>/dev/null; then
|
if dokku ssh-keys:list "$SHOKKU_DOKKU_USER" &>/dev/null; then
|
||||||
echo "==> removing existing dokku ssh key"
|
echo "==> removing existing dokku ssh key"
|
||||||
dokku ssh-keys:remove $SHOKKU_DOKKU_USER;
|
dokku ssh-keys:remove $SHOKKU_DOKKU_USER
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "==> done"
|
echo "==> done"
|
||||||
@@ -74,12 +74,12 @@ main() {
|
|||||||
|
|
||||||
if ! command -v dokku &>/dev/null; then
|
if ! command -v dokku &>/dev/null; then
|
||||||
echo "Please install dokku first using the instructions at https://dokku.com" 1>&2
|
echo "Please install dokku first using the instructions at https://dokku.com" 1>&2
|
||||||
exit
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ! dokku plugin:installed letsencrypt; then
|
if ! dokku plugin:installed letsencrypt; then
|
||||||
echo "Please setup letsencrypt using the instructions at https://dokku.com/docs/deployment/application-deployment/#setting-up-ssl" 1>&2
|
echo "Please setup letsencrypt using the instructions at https://dokku.com/docs/deployment/application-deployment/#setting-up-ssl" 1>&2
|
||||||
exit
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for plugin in redis postgres mongo mysql; do
|
for plugin in redis postgres mongo mysql; do
|
||||||
@@ -94,6 +94,7 @@ main() {
|
|||||||
shokku_app_domain=$(dokku domains:report shokku --domains-app-vhosts)
|
shokku_app_domain=$(dokku domains:report shokku --domains-app-vhosts)
|
||||||
shokku_setup_key=$(dokku logs -q shokku | grep setup_key | jq ".setup_key")
|
shokku_setup_key=$(dokku logs -q shokku | grep setup_key | jq ".setup_key")
|
||||||
|
|
||||||
|
echo "---"
|
||||||
echo "=> shokku installed and running "
|
echo "=> shokku installed and running "
|
||||||
echo "--- proceed with setup using key $shokku_setup_key at https://$shokku_app_domain ---"
|
echo "--- proceed with setup using key $shokku_setup_key at https://$shokku_app_domain ---"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,11 +1,12 @@
|
|||||||
<script>
|
<script>
|
||||||
export let title = "";
|
export let title = "";
|
||||||
|
const cardImgUrl = "https://shokku.dev/images/share-card.png"
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<meta property="og:title" content={title}>
|
<meta property="og:title" content={title}>
|
||||||
<meta property="og:type" content="website" />
|
<meta property="og:type" content="website" />
|
||||||
<meta property="og:image" content="https://shokku.dev/share-card.png">
|
<meta property="og:image" content={cardImgUrl}>
|
||||||
<meta name="twitter:card" content="https://shokku.dev/share-card.png">
|
<meta name="twitter:card" content={cardImgUrl}>
|
||||||
|
|
||||||
<meta property="og:description" content="Free and open source interface for the Dokku PaaS">
|
<meta property="og:description" content="Free and open source interface for the Dokku PaaS">
|
||||||
<meta name="twitter:image:alt" content="Shokku Logo">
|
<meta name="twitter:image:alt" content="Shokku Logo">
|
||||||
@@ -3,7 +3,7 @@
|
|||||||
const scriptInstallCommands = [
|
const scriptInstallCommands = [
|
||||||
`wget "${bootstrapLink}"`,
|
`wget "${bootstrapLink}"`,
|
||||||
`export SHOKKU_LETSENCRYPT_EMAIL="foo@example.com"`,
|
`export SHOKKU_LETSENCRYPT_EMAIL="foo@example.com"`,
|
||||||
`sudo bash install.sh`,
|
`bash install.sh`,
|
||||||
];
|
];
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user