Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

项目启动 | Daruk #110

Open
xiaojue opened this issue Sep 11, 2020 · 4 comments
Open

项目启动 | Daruk #110

xiaojue opened this issue Sep 11, 2020 · 4 comments

Comments

@xiaojue
Copy link
Contributor

xiaojue commented Sep 11, 2020

https://darukjs.com/tutorial/starup.html

Daruk, a typescript web framework.

@liuyingbin1922
Copy link

export default new Daruk('daruk-project', options); 会报expected 0 argument , but get 2 . 是跟ts 的配置有关嘛

@xiaojue
Copy link
Contributor Author

xiaojue commented Jul 9, 2021

@liuyingbin1922 你用的应该是老版本的,更新到最新吧,然后启动应该用 DarukServer 来启动

@xiaojue
Copy link
Contributor Author

xiaojue commented Jul 9, 2021

数据库的配置你可以参考这个 demo:https://github.com/darukjs/daruk/tree/2.0/example/02-comments @liuyingbin1922 里面有数据库连接的写法,在 glues 下。

@liuyingbin1922
Copy link

liuyingbin1922 commented Jul 9, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants