Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
phpdts
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nemo Ma
phpdts
Commits
ea772b7c
Commit
ea772b7c
authored
Mar 31, 2023
by
nahakyuu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add dev doc to readme.md
parent
ad74207e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
README.md
README.md
+14
-0
No files found.
README.md
View file @
ea772b7c
...
@@ -25,3 +25,17 @@ bash ./bot/bot_enable.sh
...
@@ -25,3 +25,17 @@ bash ./bot/bot_enable.sh
```
```
可以使用 nohup,screen 等程序防止进程被结束。
可以使用 nohup,screen 等程序防止进程被结束。
## 开发注意
1.
使用
`composer install`
安装依赖
2.
`./yii serve`
命令在windows下会报错,
[
原因点我
](
https://github.com/yiisoft/yii-console/issues/175
)
,临时解决方案
找到`vendor\yiisoft\yii-console\src\Command\Serve.php`文件,修改第138行中的`'PHP_CLI_SERVER_WORKERS=' . $workers .`部分,变成以下代码
```php
passthru('"' . PHP_BINARY . '"' . " -S $address -t \"$documentRoot\" $router");
```
3.
修改
`config/configuration.php`
之后一定要运行
`composer du`
来重新生成
`.merge-plan.php`
4.
目前只加入了
`src`
和
`config`
文件夹,demo文件见
`C:\git\phpdts\src\Controller\HomeController.php`
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment