开源软件名称:cody
开源软件地址:https://gitee.com/dugulao3/cody
开源软件介绍:
#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.
开始codyBy 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! *注意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 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. |
请发表评论