Comments (5)
只要在本地跑mangodb就行了
我在windows上是用.cmd命令脚本运行的
:: 定位到C盘
cd c:/
:: 切换到mongodb的数据库目录
cd Program Files\MongoDB\Server\3.4\bin
:: 配置mongodb的文档存储目录
mongod --dbpath "F:\Mongodb\data"
from nightcat.
谢谢,运行成功了。还有一个问题,我在后台注册帐号后,添加文章提示没有权限,我只好手动改数据库了
superAdmin和admin都改了为true。
from nightcat.
另外后台添加文章cover 封面图是填图片路径吗?做成上传更友好一点
from nightcat.
是的,超级管理员superAdmin需要手动修改数据库,admin可以由superAdmin在用户管理里添加。
封面图当初考虑不周(懒)就没弄那么复杂,以后可能会改成支持图片路径或上传两种吧,近期应该不会改
from nightcat.
好的,谢谢了
from nightcat.
Related Issues (7)
- .-562 HOT 1
- 找不到对应功能 HOT 2
- 请问你这个博客怎么进入浏览文章呢? HOT 1
- Documentation en HOT 2
- 分页 设计的问题 HOT 4
- Github 三方登陆挂了。。 HOT 2
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 nightcat.