diff --git a/Makefile b/Makefile index c81a09f..d27edff 100755 --- a/Makefile +++ b/Makefile @@ -30,7 +30,7 @@ key: if grep -q '^APP_KEY=' .env; then \ sed -i "s/^APP_KEY=.*/APP_KEY=$$KEY/" .env; \ else \ - echo "APP_KEY=$$KEY" >> .env; \ + printf "\nAPP_KEY=$$KEY\n" >> .env; \ fi; \ echo "APP_KEY set to $$KEY"; \ echo "Restarting app container to apply new key..."; \ diff --git a/README.md b/README.md index fda993a..bb3be6f 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,8 @@ # Cloud control panel +[![PHP Version](https://img.shields.io/badge/PHP-8.5%2B-blue.svg)]() +[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE.txt) + A lightweight, self-hosted cloud management panel designed for simplicity and performance. Built with modern PHP and containerized for easy deployment, it provides an intuitive interface for managing your personal cloud storage with minimal resource overhead. @@ -24,7 +27,6 @@ Docker and Docker Compose, Make utility Configure Environment Variables ```bash - cp .env.example .env nano .env ``` @@ -32,10 +34,10 @@ nano .env Build and Deploy ```bash - make build make install make up +make key make migrate ``` @@ -46,7 +48,6 @@ Web Interface: http://localhost:8001 (or any configured port) ### ⚙️ Additional Commands ```bash - make bash # in docker environment composer analyse @@ -61,6 +62,10 @@ composer test 3. Set up regular backups -## License +## 📄 License -This project is licensed under the MIT License - see the LICENSE file for details. \ No newline at end of file +This project is open-source and available under the **[MIT License](LICENSE.txt)**. + +Copyright © 2026 Din9xtr + +[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) \ No newline at end of file diff --git a/composer.json b/composer.json index c94d614..37a739e 100755 --- a/composer.json +++ b/composer.json @@ -1,4 +1,27 @@ { + "name": "din9xtr/cloud-control-panel", + "description": "A lightweight, self-hosted cloud management panel for personal storage", + "type": "project", + "license": "MIT", + "keywords": [ + "cloud", + "storage", + "file-manager", + "self-hosted", + "docker", + "php" + ], + "homepage": "https://github.com/din9xtr/cloud_control_panel", + "support": { + "issues": "https://github.com/din9xtr/cloud_control_panel/issues", + "source": "https://github.com/din9xtr/cloud_control_panel" + }, + "authors": [ + { + "name": "Din9xtr", + "homepage": "https://github.com/din9xtr" + } + ], "require": { "php": "^8.5", "nikic/fast-route": "^1.3", diff --git a/public/site.webmanifest b/public/site.webmanifest deleted file mode 100644 index 45dc8a2..0000000 --- a/public/site.webmanifest +++ /dev/null @@ -1 +0,0 @@ -{"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"} \ No newline at end of file