5 Star 6 Fork 3

翌之南 / cody

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
Clone or Download
contribute
Sync branch
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README
MIT

#cody 基于开源Cody的一个CMS系统。 目标:结合bootstrap做成一个生成移动端页面的CMS系统。

Features

  • Node.js CMS
  • Easy-to-use graphical interface + wysiwyg (what you see is what you get) editor that allows non-programmers to manage the site's content, users, files, forms and images.
  • Tree structured GUI to manage the structure of the site and the editable content by using templates and drag-and-drop.
  • Works seamless with your existing node.js code.

开始cody

By following these steps you will be running your own CMS system in no time. If any of the steps do not work for you, please report this as an issue on this github repository and we will look into it as soon as possible!

  • 安装:nodejs(http://nodejs.org/download/) 和 mysql(http://dev.mysql.com/downloads/mysql/)

  • 为你的CMS创建一个目录并且cd到创建的目录下:

    
    
  • 创建cody和他的依赖模块包

          复制package.json到该目录下
      npm install --save
          cd到node_modules目录下
  • clone代码到该目录下

      $ git clone git@git.oschina.net:dugulao3/cody.git cody

*注意creat_site.js中的这句:var rootwd = "f:\CodyCMS\win\";对应你自己的目录。

  • 使用如下向导创建一个新的Web工程

      $ node ./node_modules/cody/bin/create_site
      
      Creating cody web tree in current directory
      1) Enter sitename: mysite
      Note: also using my site as database name.
      Note: by default the mysql root user has no password so you can just hit enter, if you forgot the root password see http://dev.mysql.com/doc/refman/5.0/en/resetting-permissions.html
      2) Enter root password for mysql so we can create a new database and user: 
      3) Enter site database user: mysitename
      4) Enter site database password: mysitepassword
      5) Enter hostname for site: mysite.local (or localhost)
      Site mysite has been prepared.
      
      Please create DNS entries, or add to /etc/hosts:
      127.0.0.1     mysite.local
      
      Also check index.js and config.json to fine-tune extra parameters, encryption key, ...
      
      Start your site using:
      forever start mysite.js
      or
      node mysite.js
  • Add a DNS entry for given hostname, e.g.

      $ sudo bash -c 'echo 127.0.0.1 mysite.local >> /etc/hosts'
  • Run the server

      $ node mysite.js

    or if you want to automatically restart the server on changes

      $ forever start mysite.js
  • Go to "http://mysite.local:3001" to see your current site and go to "http://mysite.local:3001/en/dashboard" to see the CMS of the site.

    the default users are: 'super', 'admin', 'test' and 'user' which all have password 'empty' you can ofcourse use "http://localhost:3001" too.

The MIT License (MIT) Copyright (c) 2015 Johan Coppieters - Howest. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

开源cody CMS系统汉化后的windows版本,处于修改阶段,放上来大家共同学习。 expand collapse
JavaScript
MIT
Cancel

Releases

No release

Contributors

All

Activities

Load More
can not load any more
JavaScript
1
https://gitee.com/dugulao3/cody.git
git@gitee.com:dugulao3/cody.git
dugulao3
cody
cody
master

Search