diff --git a/frontend/public/json/planka.json b/frontend/public/json/planka.json index f0b50dfe..3fc1d833 100644 --- a/frontend/public/json/planka.json +++ b/frontend/public/json/planka.json @@ -13,7 +13,7 @@ "website": "https://planka.app/", "logo": "https://cdn.jsdelivr.net/gh/selfhst/icons/webp/planka.webp", "config_path": "/opt/planka/planka/.env", - "description": "Planka is an open‑source, self‑hosted project‑management tool that mimics Trello’s kanban-style interface. It lets teams create projects with multiple boards, drag and drop cards into lists, attach files, write markdown descriptions, set due dates, assign members, leave comments and labels, all with real-time updates and notifications.", + "description": "Planka is a powerful, project management platform that transforms how teams collaborate. Create projects with multiple boards, organize tasks with intuitive drag-and-drop cards, attach files, write rich markdown descriptions, set due dates, assign team members, and keep conversations flowing with comments and labels—all with seamless real-time updates and smart notifications.", "install_methods": [ { "type": "default", diff --git a/install/planka-install.sh b/install/planka-install.sh index c7c8786e..46e31bc5 100644 --- a/install/planka-install.sh +++ b/install/planka-install.sh @@ -54,6 +54,29 @@ sed -i "s#notsecretkey#$SECRET_KEY#g" /opt/planka/planka/.env $STD npm run db:init msg_ok "Installed planka" +msg_info "Creating Admin User" +ADMIN_EMAIL="admin@planka.local" +ADMIN_PASSWORD="$(openssl rand -base64 12)" +ADMIN_NAME="Administrator" +ADMIN_USERNAME="admin" +echo "" >>.env +echo "# Temporary admin user creation settings" >>.env +echo "DEFAULT_ADMIN_EMAIL=$ADMIN_EMAIL" >>.env +echo "DEFAULT_ADMIN_PASSWORD=$ADMIN_PASSWORD" >>.env +echo "DEFAULT_ADMIN_NAME=$ADMIN_NAME" >>.env +echo "DEFAULT_ADMIN_USERNAME=$ADMIN_USERNAME" >>.env +$STD npm run db:seed +sed -i '/# Temporary admin user creation settings/,$d' .env +{ + echo "" + echo "PLANKA Admin Credentials" + echo "Admin Email: $ADMIN_EMAIL" + echo "Admin Password: $ADMIN_PASSWORD" + echo "Admin Name: $ADMIN_NAME" + echo "Admin Username: $ADMIN_USERNAME" +} >>~/planka.creds +msg_ok "Created Admin User" + msg_info "Creating Service" cat </etc/systemd/system/planka.service [Unit]