All Projects → shellus → Shcms

shellus / Shcms

一个基于laravel的cms系统

Projects that are alternatives of or similar to Shcms

Cms
Decoupled CMS for any Laravel app, gain control of: pages, blogs, galleries, events, images, custom modules and more.
Stars: ✭ 498 (+982.61%)
Mutual labels:  cms, laravel
Larrock Core
Core components for LarrockCMS
Stars: ✭ 46 (+0%)
Mutual labels:  cms, laravel
Laracms
LaraCMS 是在学习 laravel ( web 开发实战进阶 + 实战构架 API 服务器) 过程中产生的一个业余作品,试图通过简单的方式,快速构建一套基本的企业站同时保留很灵活的扩展能力和优雅的代码方式,当然这些都得益Laravel的优秀设计。同时LaraCMS 也是一个学习Laravel 不错的参考示例。
Stars: ✭ 588 (+1178.26%)
Mutual labels:  cms, laravel
Webed
WebEd CMS - a cms based on Laravel 5.5
Stars: ✭ 432 (+839.13%)
Mutual labels:  cms, laravel
Base
Multilingual CMS built with Laravel.
Stars: ✭ 949 (+1963.04%)
Mutual labels:  cms, laravel
Laravel 8 Simple Cms
Laravel 8 content management system for starters.
Stars: ✭ 444 (+865.22%)
Mutual labels:  cms, laravel
Vms
VMS is your Video Subscription Platform. Add unlimited videos, posts, and pages to your subscription site. Earn re-curring revenue and require users to subscribe to access premium content on your website.
Stars: ✭ 23 (-50%)
Mutual labels:  cms, laravel
Decoy
A Laravel model-based CMS
Stars: ✭ 303 (+558.7%)
Mutual labels:  cms, laravel
Eloquent Driver
A package that allows you to store Statamic entries in a database.
Stars: ✭ 28 (-39.13%)
Mutual labels:  cms, laravel
Pro
ECStore Pro - Laravel 微信网店微服务框架
Stars: ✭ 14 (-69.57%)
Mutual labels:  cms, laravel
Statamic
Statamic 3: The New Site/App Package
Stars: ✭ 431 (+836.96%)
Mutual labels:  cms, laravel
Stationery Cms
💡基于laravel-admin1.6.0开发的办公用品管理系统,含excel导出、查询快递功能
Stars: ✭ 37 (-19.57%)
Mutual labels:  cms, laravel
Sharp
Laravel 6+ Content management framework
Stars: ✭ 430 (+834.78%)
Mutual labels:  cms, laravel
Fullycms
Fully CMS - Multi Language Content Management System - Laravel
Stars: ✭ 465 (+910.87%)
Mutual labels:  cms, laravel
Ideaspace
😎 Create interactive 3D and VR web experiences for desktop, mobile & VR devices
Stars: ✭ 344 (+647.83%)
Mutual labels:  cms, laravel
Platform
A modular multilingual CMS built with Laravel 5.
Stars: ✭ 719 (+1463.04%)
Mutual labels:  cms, laravel
Pyrocms
Pyro is an experienced and powerful Laravel PHP CMS.
Stars: ✭ 3,086 (+6608.7%)
Mutual labels:  cms, laravel
Borgert Cms
Borgert is a CMS Open Source created with Laravel Framework 5.6
Stars: ✭ 298 (+547.83%)
Mutual labels:  cms, laravel
Blender
The Laravel template used for our CMS like projects
Stars: ✭ 862 (+1773.91%)
Mutual labels:  cms, laravel
Cms
Statamic 3: The Core Composer Package
Stars: ✭ 965 (+1997.83%)
Mutual labels:  cms, laravel

[项目关闭,不再维护]

shcms

image

一个基于laravel5.4最佳实践的cms程序,使用众多现代web开发特性。

在线DEMO

http://shcms.endaosi.com/

特色

  • 全文搜索
  • 权限管理
  • 云平台友好
  • 非常多精致优雅的小细节

运行环境

  • PHP5.5及以上,推荐使用PHP7.1
  • nginx或其他Web Server,root目录绑定到public文件夹并设置伪静态到index.php
  • MySQL或兼容MySQL的其他数据库,推荐MySQL5.7
  • redis 缓存服务器
  • spinx 搜索引擎(可选)

使用方法

!!!如果你在安装过程中遇到任何问题,请不要犹豫,立即提出Issue。我会全力帮助你!!!

git clone [email protected]:shellus/shcms.git

cd shcms

chmod -R 777 storage public/uploads

composer install

bower install

cp .env.example .env

编辑.env文件:

  1. 修改数据库连接信息 DB_*

  2. 设置网站名称和副标题 APP_NAME, APP_SUB_NAME

  3. 修改APP_URL,改为可访问到的url,否则邮件中和cli中无法获取正确的url。

  4. 创建数据库shcms

生成app_key和填充数据库

php artisan key:generate

php artisan migrate

php artisan db:seed

添加cron条目

* * * * * php /path/to/shcms/artisan schedule:run

添加开机启动(开发环境可以手动运行 bin/queue-listener.bat )

php /path/to/shcms/artisan queue:listen --timeout 0

可选的优化

php artisan config:cache

php artisan route:cache

php artisan optimize

如果你需要支持文章阅读时长统计,那么你需要运行 php artisan ws 这将使用8080端口, 你可以使用 supervisor 来运行它

sudo apt install -y supervisor

sudo vim /etc/supervisor/conf.d/ws.conf

supervisor 推荐配置

[program:ws]
directory=path/to/shcms/
command=php artisan ws
user=www-data

[program:queue-default]
directory=path/to/shcms/
process_name=%(program_name)s_%(process_num)02d
command=php artisan queue:work --queue=default --sleep=3 --tries=1
autostart=true
autorestart=true
user=www-data
numprocs=1

[program:queue-high]
directory=path/to/shcms/
process_name=%(program_name)s_%(process_num)02d
command=php artisan queue:work --queue=high --sleep=3 --tries=1
autostart=true
autorestart=true
user=www-data
numprocs=4

然后使新的配置生效

sudo service supervisor restart

如果websocket运行不稳定,那么你可以使用cron在每天凌晨使用 sudo supervisorctl restart ws 重启它

HTTPS

如果你部署SSL访问,那么需要对websocket做反向代理来实现wws://协议

nginx.conf:

upstream shcms.endaosi.com {
   server 127.0.0.1:8080;
}
map $http_upgrade $connection_upgrade {
    default upgrade;
    ''      close;
}
server {
        listen 80;
        listen              443 ssl;
        server_name shcms.endaosi.com;
        location  ^~  /websocket {
            proxy_pass http://shcms.endaosi.com;
    
            proxy_redirect    off;
            proxy_set_header X-Real-IP $remote_addr;
            proxy_set_header Host $host;
            proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    
            proxy_http_version 1.1;
            proxy_set_header Upgrade $http_upgrade;
            proxy_set_header Connection "upgrade";
        }

编辑.env文件,修改数据库连接信息

php artisan key:generate

php artisan migrate

php artisan db:seed

bower install

待办

参见Issue列表

作者的话

有任何问题和疑问请在github建立Issue,我会尽快回复您

欢迎您使用、学习、参与本项目。

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].