Requirements
- Windows / Linux / macOS
- Nginx / Apache / IIS + PHP 8.4+
- Try: SQLite. Production: MySQL utf8mb4
- Document root must be
public
Version v12. Needs PHP 8.4+ (pdo, mbstring, openssl, curl, fileinfo, tokenizer, xml, ctype, json). SQLite is enough to try it.
git clone https://github.com/Sunshine-168/AppleCms.git
cd AppleCms
Open GitHub Download zip Repositories
No Git? Unzip where you can see artisan. The public repo is AppleCms.
publichttp://127.0.0.1:8010//admin/logindocker compose up --build
Open /install and pick the file database. One-shot install: AUTO_INSTALL=1 INSTALL_PASSWORD=YourPass#1 docker compose up --build
bash install.sh YourPass#1
# Windows:
.\install.ps1 YourPass#1
If you have no Nginx, then run php artisan serve --host=0.0.0.0 --port=8010.
composer install
cp .env.example .env
php artisan key:generate
php artisan serve --port=8010
Open /install: checks → database → admin. Same as: php artisan video:install --password=YourPass#1 --demo
PHP 8.4. Document root is public inside the project, not the project root.
storage, bootstrap/cache, database must be writable by the web user.
Run the script in the project root, or open /install. Use MySQL in production.
Every minute: /bin/php artisan schedule:run. Collect and monitor need this line.
/www/server/php/84/bin/php /www/wwwroot/你的站点/artisan schedule:run >> /dev/null 2>&1