docs: add native run guide and restore admin creation in setup.sh

This commit is contained in:
datadunia
2026-05-23 20:35:13 +07:00
parent 715930f7a5
commit cb674c964b
3 changed files with 50 additions and 11 deletions
+9 -5
View File
@@ -28,9 +28,9 @@ else
echo "[+] .env file already exists. Skipping environment generation."
fi
# Make sure Docker is available
if ! command -v docker-compose &> /dev/null; then
echo "[-] ERROR: docker-compose is not installed. Please install Docker and Docker-Compose first."
# Make sure Docker Compose v2 is available
if ! docker compose version &> /dev/null; then
echo "[-] ERROR: docker compose (v2) is not available. Please install Docker and Docker Compose plugin."
exit 1
fi
@@ -41,7 +41,11 @@ echo " 1. Open and review the '.env' file. "
echo " Make sure to change DB_PASSWORD, "
echo " API_PORT, and VITE_API_BASE_URL. "
echo " "
echo " 2. Run './update.sh' to download the "
echo " 2. Run 'bash update.sh' to download the "
echo " latest code, build, and start the "
echo " system. "
echo " system. The script will also run "
echo " database migrations automatically. "
echo " "
echo " 3. Create your Admin account: "
echo " docker exec -it nexus-guard-suite-server-core-1 ./server-core -create-admin -user \"admin\" -pass \"PasswordKuat123!\""
echo "========================================="