Updating
Update Script (Recommended)
Section titled “Update Script (Recommended)”The install script allows you to update Plank automatically:
bash <(curl -fsSL https://raw.githubusercontent.com/logscore/plank/master/scripts/deploy.sh)It will prompt you if you want to update Plank, defaulting to yes. Hit enter and it will update Plank to the most recent changes on master.
Docker
Section titled “Docker”Pull the latest changes and rebuild:
cd plankgit pulldocker compose -f docker/docker-compose.yml --env-file .env up -d --buildDatabase migrations run automatically on container startup.
Bare Metal
Section titled “Bare Metal”Pull the latest code, rebuild, and run migrations:
cd plankgit pullnpm installnpm run buildnpx drizzle-kit migrateThen restart the server. If you’re using a systemd service:
sudo systemctl restart plankOtherwise, stop the existing process and run node build again.