diff --git a/run.sh b/run.sh index a73057378..00ce2c68a 100755 --- a/run.sh +++ b/run.sh @@ -53,6 +53,7 @@ $GNU_SED -e "s/^pid .*/pid \/tmp\/nginx.pid;/" -i "${NGINX_ROOT}/nginx.conf" readonly WEBADMIN_ID=abcdefg readonly WEBADMIN_SCOPES="root,profile,users,apps,settings,roleUser" sqlite3 "${DATA_DIR}/cloudron.sqlite" "INSERT OR REPLACE INTO clients (id, appId, clientSecret, redirectURI, scope) VALUES (\"cid-webadmin\", \"webadmin\", \"secret-webadmin\", \"https://${FQDN}\", \"${WEBADMIN_SCOPES}\")" +sqlite3 "${DATA_DIR}/cloudron.sqlite" "INSERT OR REPLACE INTO apps (id, appStoreId, version, installationState, installationProgress, runState, healthy, containerId, manifestJson, httpPort, location, dnsRecordId, accessRestriction) VALUES (\"testApp\", \"testAppAppstoreId\", \"1.2.3\", \"installed\", \"done\", \"running\", \"1\", \"testAppContainerId\", \"{}\", 1337, \"testAppLocation\", \"testAppDnsRecordId\", \"public\")" # start nginx sudo nginx -c nginx.conf -p "${NGINX_ROOT}"