Fix Motech install URL
This commit is contained in:
parent
43922d8192
commit
5992629869
@ -32,7 +32,7 @@ done
|
|||||||
export MOTECH_ADMIN_USER="admin"
|
export MOTECH_ADMIN_USER="admin"
|
||||||
export MOTECH_ADMIN_EMAIL="admin@example.com"
|
export MOTECH_ADMIN_EMAIL="admin@example.com"
|
||||||
export MOTECH_ADMIN_PWD=$(head -c 12 /dev/urandom | base64)
|
export MOTECH_ADMIN_PWD=$(head -c 12 /dev/urandom | base64)
|
||||||
curl -H "Content-Type: application/json" -X POST -d "{\"adminLogin\":\"${MOTECH_ADMIN_USER}\",\"adminEmail\":\"${MOTECH_ADMIN_EMAIL}\",\"adminPassword\":\"${MOTECH_ADMIN_PWD}\",\"adminConfirmPassword\":\"${MOTECH_ADMIN_PWD}\",\"language\":\"cs\",\"providerName\":\"\",\"providerUrl\":\"\",\"schedulerUrl\":\"\"}" http://${MOTECH_IP}:8080/module/server/startup/
|
curl -H "Content-Type: application/json" -X POST -d "{\"adminLogin\":\"${MOTECH_ADMIN_USER}\",\"adminEmail\":\"${MOTECH_ADMIN_EMAIL}\",\"adminPassword\":\"${MOTECH_ADMIN_PWD}\",\"adminConfirmPassword\":\"${MOTECH_ADMIN_PWD}\",\"language\":\"cs\",\"providerName\":\"\",\"providerUrl\":\"\",\"schedulerUrl\":\"\"}" http://motech:8080/module/server/startup/
|
||||||
service motech stop
|
service motech stop
|
||||||
|
|
||||||
# Install config update script
|
# Install config update script
|
||||||
|
Loading…
Reference in New Issue
Block a user