Giter Club home page Giter Club logo

caibaoguo / doracms Goto Github PK

View Code? Open in Web Editor NEW

This project forked from doramart/doracms

0.0 0.0 0.0 21.88 MB

DoraCMS是基于Nodejs+eggjs+mongodb编写的一套内容管理系统,结构简单,较目前一些开源的cms,doracms易于拓展,特别适合前端开发工程师做二次开发。

Home Page: https://www.html-js.cn

License: MIT License

JavaScript 79.84% CSS 2.89% HTML 4.24% Java 0.01% Vue 10.82% Dockerfile 0.01% SCSS 2.19%

doracms's Introduction

Notice: DoraCMS SQL (基于sequelize) 已发布,开源无限制可商用,觉得好请记得 star 哟!

DoraCMS mysql 源码
DoraCMS mysql 版本预览

数据库通过花生壳连接,可能有所延时

DoraCMS 2.1.7

DoraCMS

DoraCMS 视频简介

DoraCMS 视频简介

DoraCMS 更新日志

DoraCMS 更新日志

说明

DoraCMS 使用的技术栈:

1、nodejs 12 + eggjs 2
2、vue-cli
3、mongodb 4+

文档: DoraCMS 开发文档
API: DoraCMS API文档
演示地址: 前端开发俱乐部

后台登录: https://www.html-js.cn/dr-admin
测试账号:doracms/123456

docker快速体验 DoraCMS(本地环境)

前提是您需要提前安装 docker.

DoraCMS 可以依托 docker-compose 快速在本地跑起来,您只需要这样做:

  • 下载代码到本地,进入代码根目录,终端执行
docker-compose up -d
  • 接下来等待几分钟,看到执行成功后,浏览器访问
http://127.0.0.1:8080/

安装

准备环境

在安装 DoraCMS 之前,需要确保您已经完成了以下工作

环境准备详情访问

  • 已经安装好了 nodejs , 版本 v12.13.0
  • 已经安装并启动了 Mongodb,版本 4.0

运行

普通用户(无需下载源码)

npm i doracms -g  // 全局安装 doracms 命令行工具
dora create mycms  // 本地/服务器环境任意目录执行

执行 dora create mycms 命令需要填写相关参数(本地环境可以一直回车,会有默认值),相关参数解释如下:

?Project name: [必填]项目名称,英文不含空格
?Website(ip or domain): [[非必填,默认 http://127.0.0.1:8080 ]网站访问域名或IP+端口号,需要带http/https,如 https://www.html-js.cn, http://120.25.150.169:8080
?env: [非必填,默认 development ]服务器运行环境
?Server port: [非必填,默认 8080 ]DoraCMS 启动默认端口号,website 中如果也有端口号,那么理论上这两个端口号是相同的
?Mongodb url: [非必填,默认 mongodb://127.0.0.1:27017/doracms2 ] mongodb 连接字符串,如果带密码,eg. mongodb://username:[email protected]:27017/doracms2
?Mongodb bin path: [非必填,默认为空]Mongodb bin目录路径,注意结尾必须带 / ,windows 环境下路径中 \ 必须改为 / 如 C:/mongodb/mongodb/bin/

开发者 (需要下载源码)

源码搭建开发环境

访问

浏览器通过以下方式访问(具体访问地址依赖于配置)

http://127.0.0.1:8080  // 开发环境
http://120.25.150.169:8080  // 生产环境只配了IP,端口号已加入安全组
https://www.html-js.cn // 生产环境配置了域名并做好了域名解析

其它

开发环境启动

npm run dev

生产环境启动

pm2 start server.js --name doracms2

生产环境停止

pm2 stop doracms2

生产环境重启

pm2 restart doracms2

api文档

api访问地址: http://127.0.0.1:8080/static/apidoc/index.html

首页

http://127.0.0.1:8080

后台登录

http://127.0.0.1:8080/dr-admin
登录账号:doramart/123456    doracms/123456

技术交流群

捐赠

如果你发现DoraCMS很有用,可以请生哥喝杯咖啡(⊙o⊙)哦

LICENSE

MIT

doracms's People

Contributors

doramart avatar yuexing0921 avatar amorist avatar amphineko avatar markyeahjr avatar bryant1410 avatar dolare avatar easyui avatar gitkmw avatar cobain avatar

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.