-
## DESC
### ENV
OS Platform:
Node.js Version:
ThinkJS Version:
### code
```js
// your code here
```
### error message
```
// your error message here
```
### more descrip…
-
## DESC
### ENV
OS Platform: docker mhart/alpine-node:8.9.4
Node.js Version:
ThinkJS Version:3
### more description
将thinkJS部署到docker环境中,使用的是官方推荐的 mhart/alpine-node镜像。
docker ru…
-
## DESC
### ENV
OS Platform: windows
Node.js Version: 12.16.0
ThinkJS Version:2.2.9
### code
```js
this.alias('lk')
.field('lk.id,lk.sort_link,lk.link, SUM( lkd.pv ) AS pv …
-
我们目前的项目流程是:启动时首先从配置中心(如apollo、zk)获取项目的配置(配置中心连接配置由启动参数传入,根据环境传入不同的配置中心地址),然后覆盖本地代码中的配置(因为我们禁止把密码信息直接写在代码中),然后才开始创建各个模块(如连接mongo、redis等等)和http server
请问thinkjs是否有现存方案?我看到一个是只在httpserver启动前有一个修改的机会(t…
-
希望大佬,添加类似Sequelize 的migration 功能,这样切换环境的时候, 数据库同步方便自动化
-
## DESC
现在用thinkjs做了一个线上应用,首页用的view下模版的方式,有几条读取postgresql数据库的操作还有读取json文件操作,首页还会加载些图片,现在用测试工具测试20个并发就不行了,后在其他提问里找到是数据库配置问题,加了debounce:false,感觉这样好些是解决了数据库的问题;
服务器用的是阿里云的配置也挺高,运行起来cpu和内存都还可以;
另外用的ngi…
ktkxc updated
4 years ago
-
## DESC
### ENV
OS Platform:
Node.js Version:
ThinkJS Version:3.2.9
### code
```js
// your code here
```
### error message
```
// your error message here
```
### more de…
-
步骤:
1、执行nuxt build生成编译后的代码
2、运行node production.js
效果:
服务端正式运行,前端无法进入对应界面,一直停留在'Loading...'界面
-
## DESC
### ENV
OS Platform:
Node.js Version:
ThinkJS Version:
### code
```js
// your code here
```
### error message
```
// your error message here
```
### more descrip…
-
## DESC
It's based on log4js now, but I found out that https://github.com/pinojs/pino seems has much better porfermance.
ThinkJS Version:
3
### more description
Suggest to change the dependen…