Coder Social home page Coder Social logo

ixre / cms Goto Github PK

View Code? Open in Web Editor NEW
329.0 45.0 171.0 243.78 MB

DDD 开源.NET CMS、跨平台, 兼容.NET Core和ASP.NET,支持Docker容器

License: GNU General Public License v2.0

C# 53.88% JavaScript 25.24% CSS 7.95% HTML 11.59% Smalltalk 0.01% Shell 0.14% Dockerfile 0.08% Go 0.10% ASP.NET 0.01% Smarty 0.78% FreeMarker 0.23%
cms c-sharp docker linux net6

cms's Introduction

JR-CMS

Build Status

基于.Net + DDD 构建的跨平台多站点开源内容管理系统; 同时支持ASP.NET 4.x.NET6.0; 可以运行在Windows,Linux,MacOSX等操作系统;支持Docker容器。 此项目已维护超过十年, 不断使用最合适的技术改进. 独立服务器上建议运行.NET6版,或上传到虚拟主机。

¥99元/年的虚拟主机也能开出多个网站, 推荐的虚拟主机参考:主机服务商评测

特性

  • 跨平台:支持Windows、Linux、MacOSX运行,同时支持虚拟主机。
  • 支持容器:提供容器镜像,可用Docker/Podman部署至服务器。
  • 支援多种数据库:支持MySQL、SQLite、Sql Server、ACCESS数据库, 推荐使用:MySQL作为数据库。
  • 领域驱动设计:核心代码使用DDD领域驱动设计构建,通过领域模型,提供了可扩展性。
  • 支持模板:内置模板引擎,编写简单。后台支持模板的安装,网络安装,修改,备份等。
  • 源代码编辑:支持在线编辑代码,支持EMMET插件自动生成HTML代码。
  • 支持插件:支持网络安装插件,卸载插件等。利用插件可开发自定义功能。比如内嵌的采集系统。
  • 多站点支持:支持后台创建站点、域名绑定、虚拟目录等,站点相互隔离,大大节省服务器空间开支和维护成本。
  • 内置SEO模块:内置站内连接,URL提供等SEO工具。

在线演示站点-(运行于CentOS7.2)


感谢您看到这个页面,如果对您有帮助,或您对此感兴趣,请star或fork支持一下作者吧!

快速开始

Windows平台下,下载安装包链接, 运行命令启动服务:

dotnet JR.Cms.App.dll --urls http://+:8000

通过浏览器访问:http://localhost:8000

发布项目

打包发布需要环境如下:

  • .NET Standard 2.1及以上(.NET6/.NET7)
  • .NET Framework 4.5.1/Mono或以上

编译打包.Net程序包运行命令:

sh ./build.sh

编译打包ASP.NET程序包,运行命令:

sh ./aspnet_pack.sh

注:在windows平台打包,需要使用shell客户端运行命令, 比如:git-bash 安装git会默认安装

部署

一. 通过虚拟主机部署

  • 需准备一台支持ASP.NET 4.0的虚拟主机。
  • 下载程序文件: jrcms-aspnet-latest.tar.gz 并解压。
  • 通过FTP上传ASP.NET版的所有文件到虚拟主机。
  • 虚拟主机设置线程池为集成模式,版本更改为.NET4.0及以上。

推荐虚拟主机服务商

  • 西部数码: 工单速度处理快, 虚拟主机买二年送一年。
  • 新网: 网络快,技术支持24小时在线处理。

二. 使用服务器或VPS部署

Windows(IIS)

  • 点击下载安装包 并解压;
  • 使用IIS添加站点,选择无托管代码, 完成部署。

Linux、MacOSX

curl -L https://github.com/ixre/cms/releases/download/v4.6/jrcms-latest.tar.gz | tar xz
cd cms && dotnet JR.Cms.App.dll --urls http://+:8080

浏览器访问: http://127.0.0.1:8080

 使用Docker容器运行

容器镜像托管在docker.io, 操作步骤如下:

创建存放CMS模板、数据、插件、文件的目录:

mkdir /data/cms && cd /data/cms

运行容器:

podman='podman';if [ $(whereis podman) = 'podman:' ]; then podman='docker';fi
$podman run -d  --name cms -p 8080:80 \
    --volume=$(pwd)/config:/cms/config \
    --volume=$(pwd)/data:/cms/data \
    --volume=$(pwd)/templates:/cms/templates \
    --volume=$(pwd)/plugins:/cms/plugins \
    --volume=$(pwd)/uploads:/cms/uploads \
    --volume=$(pwd)/oem:/cms/oem \
    --volume=$(pwd)/root:/cms/root \
    --restart always jarry6/cms:latest

插件开发

详见:https://github.com/jsix/cms/tree/master/plugins

其他

如何加入开发

请先在github上fork代码,克隆到本地修改后直接提交。 交流QQ群:737378973

捐助项目

如果项目对您有帮助, 可以购买虚拟主机向作者发起捐助. 如果您有购买的需要, 可以通过添加QQ/微信:959398298购买主机发起对项目的赞助, 我们同时给到八折优惠和额外的技术支持。

cms's People

Contributors

dependabot[bot] avatar ixre avatar wyccorey avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cms's Issues

Do you need Filipino Translation for Jsix CMS?

Hi there,

Good day and how are you? I hope this message finds you well.

I am Joseph Buarao (https://utopian.io/@josephbuarao), who has been doing high quality Filipino and Tagalog translations for several projects.

Consider this message as my letter of application. I am a web developer by profession and an experienced Utopian translator -these are on top of being an experienced web developer with more than 6 years of experience and specialized in the following scripting languages and technologies (HTML, CSS, JS, JQUERY, PHP, WORDPRESS and CONCRETE5). This means I know which codes are to be translated, and which ones that are to remain as it is. I am a strong advocate of thought-by-thought instead of word-by-word style of doing the translations, and I am carefully strict in grammars and spellings and proper word conjugations of my languages, Filipino and Tagalog.

I hope to hear from you soon and work with you in the translations. You can count on me that I will do my job with utmost dedication. Thank you and more power to you.

Best Regards,
Joseph Buarao

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.