Mirror from bluesky-social/pds
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

add invite code command to installer success message

+14 -1
+14 -1
installer.sh
··· 27 27 openssl 28 28 xxd 29 29 " 30 + 30 31 # Docker packages. 31 32 REQUIRED_DOCKER_PACKAGES=" 32 33 docker-ce ··· 306 307 # 307 308 # Create the PDS env config 308 309 # 310 + # Created here so that we can use it later in multiple places. 311 + PDS_ADMIN_PASSWORD=$(eval "${GENERATE_SECURE_SECRET_CMD}") 309 312 cat <<PDS_CONFIG >"${PDS_DATADIR}/pds.env" 310 313 PDS_HOSTNAME=${PDS_HOSTNAME} 311 314 PDS_JWT_SECRET=$(eval "${GENERATE_SECURE_SECRET_CMD}") 312 - PDS_ADMIN_PASSWORD=$(eval "${GENERATE_SECURE_SECRET_CMD}") 315 + PDS_ADMIN_PASSWORD=${PDS_ADMIN_PASSWORD} 313 316 PDS_REPO_SIGNING_KEY_K256_PRIVATE_KEY_HEX=$(eval "${GENERATE_K256_PRIVATE_KEY_CMD}") 314 317 PDS_PLC_ROTATION_KEY_K256_PRIVATE_KEY_HEX=$(eval "${GENERATE_K256_PRIVATE_KEY_CMD}") 315 318 PDS_DB_SQLITE_LOCATION=${PDS_DATADIR}/pds.sqlite ··· 396 399 *.${PDS_HOSTNAME} A ${PUBLIC_IP} 397 400 398 401 Detected public IP of this server: ${PUBLIC_IP} 402 + 403 + # To create an invite code, run the following command: 404 + 405 + curl --silent \\ 406 + --show-error \\ 407 + --request POST \\ 408 + --user "admin:${PDS_ADMIN_PASSWORD}" \\ 409 + --header "Content-Type: application/json" \\ 410 + --data '{"useCount": 1}' \\ 411 + https://${PDS_HOSTNAME}/xrpc/com.atproto.server.createInviteCode 399 412 400 413 ======================================================================== 401 414 INSTALLER_MESSAGE