composer,make key fix,readme

This commit is contained in:
2026-01-17 14:29:37 +07:00
parent dd67217be2
commit 9cf53735d4
4 changed files with 34 additions and 7 deletions

View File

@@ -30,7 +30,7 @@ key:
if grep -q '^APP_KEY=' .env; then \ if grep -q '^APP_KEY=' .env; then \
sed -i "s/^APP_KEY=.*/APP_KEY=$$KEY/" .env; \ sed -i "s/^APP_KEY=.*/APP_KEY=$$KEY/" .env; \
else \ else \
echo "APP_KEY=$$KEY" >> .env; \ printf "\nAPP_KEY=$$KEY\n" >> .env; \
fi; \ fi; \
echo "APP_KEY set to $$KEY"; \ echo "APP_KEY set to $$KEY"; \
echo "Restarting app container to apply new key..."; \ echo "Restarting app container to apply new key..."; \

View File

@@ -1,5 +1,8 @@
# Cloud control panel # 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 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 containerized for easy deployment, it provides an intuitive interface for managing your personal cloud storage with
minimal resource overhead. minimal resource overhead.
@@ -24,7 +27,6 @@ Docker and Docker Compose, Make utility
Configure Environment Variables Configure Environment Variables
```bash ```bash
cp .env.example .env cp .env.example .env
nano .env nano .env
``` ```
@@ -32,10 +34,10 @@ nano .env
Build and Deploy Build and Deploy
```bash ```bash
make build make build
make install make install
make up make up
make key
make migrate make migrate
``` ```
@@ -46,7 +48,6 @@ Web Interface: http://localhost:8001 (or any configured port)
### ⚙️ Additional Commands ### ⚙️ Additional Commands
```bash ```bash
make bash make bash
# in docker environment # in docker environment
composer analyse composer analyse
@@ -61,6 +62,10 @@ composer test
3. Set up regular backups 3. Set up regular backups
## License ## 📄 License
This project is licensed under the MIT License - see the LICENSE file for details. 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)

View File

@@ -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": { "require": {
"php": "^8.5", "php": "^8.5",
"nikic/fast-route": "^1.3", "nikic/fast-route": "^1.3",

View File

@@ -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"}