docs: add native run guide and restore admin creation in setup.sh
This commit is contained in:
@@ -30,7 +30,11 @@ docker compose build --build-arg VITE_API_BASE_URL=$VITE_API_BASE_URL
|
||||
echo "[+] Restarting containers..."
|
||||
docker compose up -d
|
||||
|
||||
# 5. Cleanup
|
||||
# 5. Run Database Migrations
|
||||
echo "[+] Running automated database migrations..."
|
||||
docker exec nexus-guard-suite-server-core-1 ./server-core -migrate-prod || echo "[!] Migration skipped or failed. It might not be needed."
|
||||
|
||||
# 6. Cleanup
|
||||
echo "[+] Cleaning up unused dangling images to free up space..."
|
||||
docker image prune -f
|
||||
|
||||
|
||||
Reference in New Issue
Block a user