Comments (9)
我这里并没有这种情况
Redis有两种工作模式
默认是每隔一段时间(1s) 同步到硬盘一次,如果出现错误或关闭,这段时间的数据是会丢失的。
你可以设置成每个transation同步一次。不过会影响速度
from ourjs.
@newghost谢谢回复,我是在本地win10测试遇到的问题,第二次重启Redis后,第一次发布的文章又恢复了,但第一次重启后发布的文章又没了。
另外,关于首页不显示文章这个问题能在说明里再详细解释下嘛,还是不会弄,首页还是不显示文章。
谢谢作者开发了这么好用的程序,安装使用都很简单
from ourjs.
1)首先你需要注册一个用户: yourname
2)然后在redis为为这个用户添加管理员权限,你可以用redis_cli 或者RedisManager桌面程序来改.
#切换到第7个数据库(可以在config.js)里指定:
select 7
#添加管理员权限, yourname是你注册的用户名,isAdmin是一个字段,只要有值即可
hset user:yourname isAdmin 1
- 退出并重新登录,刷新最新文章页面 http://anynb.com/new
点击[发布],发布你要发布的文章
from ourjs.
@newghost 我是在前台注册,然后和在cmd里操作后面的,但好像还是不行
from ourjs.
要重新登录一次的
from ourjs.
@newghost 程序没有后台的嘛?还有发布文章图片只能用外链?
from ourjs.
目前不支持上传图片,没有单独的管理后台。
正在开发一个独立的后台内容管理系统,可以免费使用,但是不会开源。
from ourjs.
@newghost 请问为什么文件 node_modules/websvr/website/web/login.htm
会有明文用户名和密码呢?这样是否会有安全问题
from ourjs.
这是测试用的示例,不会被实际使用
from ourjs.
Related Issues (5)
- Is Markdown are supported in your project ? HOT 6
- help me HOT 1
- 求支持Markdown
- 安装教程太少了 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ourjs.