跳到正文
苹果CMS · AppleCMS 苹果CMS · AppleCMS v12
首页 / 下载
Download

下载苹果 CMS V12,三种方式装起来

当前版本 v12. 需要 PHP 8.4+(扩展:pdo、mbstring、openssl、curl、fileinfo、tokenizer、xml、ctype、json)。试用可以只用 SQLite。

git
git clone https://github.com/Sunshine-168/AppleCms.git
cd AppleCms

打开 GitHub 下载 zip 全部仓库

没有 Git 就把 zip 解到能看到 artisan 的那一层。开源地址是 AppleCms。

环境

  • Windows / Linux / macOS
  • Nginx / Apache / IIS + PHP 8.4+
  • 试用:SQLite;正式:MySQL utf8mb4
  • 网站根目录必须指向 public

装好后怎么进

  • 前台:http://127.0.0.1:8010/
  • 后台:/admin/login
  • 脚本安装账号 admin,密码是你在命令里写的那个
  • 没写密码时默认 admin123,上线务必改掉
本机试用

三选一,装完都用 8010 端口

A. Docker

bash
docker compose up --build

打开 /install,选文件数据库。一条命令装完: AUTO_INSTALL=1 INSTALL_PASSWORD=YourPass#1 docker compose up --build

B. 脚本

bash
bash install.sh YourPass#1
# Windows:
.\install.ps1 YourPass#1

本机没有 Nginx 再执行 php artisan serve --host=0.0.0.0 --port=8010.

C. 网页向导

bash
composer install
cp .env.example .env
php artisan key:generate
php artisan serve --port=8010

打开 /install:环境检查 → 数据库 → 管理员。等价命令: php artisan video:install --password=YourPass#1 --demo

宝塔上线

按顺序做,不要跳

01

建站

PHP 选 8.4。网站根目录填到项目里的 public,不要填项目根。

02

权限

storage, bootstrap/cache, database 给运行用户写权限。

03

安装

项目根执行脚本,或打开 /install。正式站用 MySQL。

04

定时

每分钟跑 /bin/php artisan schedule:run。采集和监控都靠这一行。

crontab
/www/server/php/84/bin/php /www/wwwroot/你的站点/artisan schedule:run >> /dev/null 2>&1

完整文档 打开仓库

飞机群 @sanpang