This commit is contained in:
jysperm
2014-07-21 15:56:00 +08:00
parent f8a8a78579
commit d2b2f9d402
3 changed files with 5 additions and 5 deletions

View File

@@ -21,9 +21,9 @@
mysql -p
创建数据库(补全你的用户名):
(在 MySQL 中) 创建数据库(补全你的用户名):
CREATE DATABASE `<用户名>_wordpress`;
CREATE DATABASE `<用户名>_wordpress`;
回到面板添加 Nginx 站点(补全你的用户名):
@@ -34,7 +34,7 @@
"index.php",
"index.html"
],
"root": "/home/<用户名>/web",
"root": "/home/<用户名>/wordpress",
"location": {
"/": {
"try_files": ["$uri", "$uri/", "/index.php?$args"]

View File

@@ -31,4 +31,4 @@
### App
* WordPress
* [WordPress](App/WordPress.md)

View File

@@ -72,7 +72,7 @@ exports.createReply = (ticket, account, content, status, callback) ->
callback null, data
exports.addMember = (ticket, account, callback) ->
exports.update
exports.update _id: ticker._id,
$push:
members: account._id
updated_at: new Date()