Fetch the repository succeeded.
StartCMS是一个基于ThinkPHP6.0+、ElementUI、MicroApp的极速微应用开发框架
前端不限技术栈,支持Vue2、Vue3、Vite、React、Rangular...
后端不限制语言,支持PHP、Java、Node、Python、Go、C#...
始终秉承 开源 开放 自由的理念
永久免费 不限商用
Simplestart!
PHP >= 7.4.0
Mysql >= 5.6
Nginx 或 Apache 建议Nginx
Nginx 或 Apache 都需要配置伪静态
启用函数 putenv proc_open(composer安装扩展时用到)
composer install
)composer install
)git clone git@github.com:simplestart-cn/start-cms.git
composer install
php start run
http://localhost:8080
如果composer install失败,请尝试在命令行进行切换配置到国内源,命令如下
composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/
一般内置服务已足以开发使用,当部署至服务器环境正式使用时需要进行如下配置
location / {
index web index.html index.php
if (!-e $request_filename){
rewrite ^(.*)$ /index.php?s=$1 last; break;
}
}
location /web {
try_files $uri $uri/ /web/index.html;
}
<IfModule mod_rewrite.c>
Options +FollowSymlinks -Multiviews
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php?/$1 [QSA,PT,L]
</IfModule>
<Directory "你的站点目录/web">
AllowOverride All
Allow from all
Require all granted
DirectoryIndex index.html index.php index.htm
Options +FollowSymlinks -Multiviews
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.html?/$1 [QSA,PT,L]
</Directory>
# 禁止访问的文件
location ~ ^/(\.env|\.user.ini|\.htaccess|\.git|\.svn|\.project)
{
return 404;
}
# 禁止访问的目录
location ~ ^/(?:build|tests|config|lib|vendor|extend)/
{
deny all;
}
请通过 GitHub Issues 反馈 bug 和 feature
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。