Compare commits

...

6 Commits

Author SHA1 Message Date
MickLesk 43f85ee8e5 formatting 2026-08-10 17:52:44 +02:00
MickLesk ccb490d7dd pelican-panel: keep MARIADB_DB_NAME/USER as real shell vars 2026-08-10 17:51:11 +02:00
MickLesk bad9ae090b localhost 2026-08-10 17:49:06 +02:00
MickLesk 23e6807d3d add echo "yes" 2026-08-10 17:48:56 +02:00
MickLesk de1b9c112f pelican; use db setup 2026-08-10 17:47:15 +02:00
MickLesk 5c126e02b8 pelican-panel: create missing sqlite database file before install 2026-08-10 17:38:13 +02:00
2 changed files with 4 additions and 3 deletions
+1
View File
@@ -27,6 +27,7 @@ msg_info "Installing Pelican Panel"
cd /opt/pelican-panel
$STD composer install --no-dev --optimize-autoloader --no-interaction
$STD php artisan p:environment:setup
echo "yes" | $STD php artisan p:environment:database --driver mariadb --host localhost --port 3306 --database "$MARIADB_DB_NAME" --username "$MARIADB_DB_USER" --password "$MARIADB_DB_PASS"
$STD php artisan p:environment:queue-service --no-interaction
echo "* * * * * php /opt/pelican-panel/artisan schedule:run >> /dev/null 2>&1" | crontab -u www-data -
chown -R www-data:www-data /opt/pelican-panel