Skip to content

[Deployer] docs for tool#21

Open
baont-1535 wants to merge 1 commit intosun7pro:masterfrom
baont-1535:docs_deployer
Open

[Deployer] docs for tool#21
baont-1535 wants to merge 1 commit intosun7pro:masterfrom
baont-1535:docs_deployer

Conversation

@baont-1535
Copy link
Copy Markdown
Contributor

Working Issue (*)

Write docs for deployer

Purpose/Notes

Screenshot

Checklist (*)

- Nó sử dụng giao thức SSH để giao tiếp với server, luồng xử lí được chia theo đơn vị là `task` - khởi phát các action.

# 2. Cài đặt
> Download deployer.phar về với tên là deployer.phar luôn:
Copy link
Copy Markdown
Contributor

@minhnv-1408 minhnv-1408 Aug 18, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

markdown này dùng cho trích dẫn, đây là liệt kê tôi nghĩ markdown liệt kê sẽ hợp lý hơn

Suggested change
> Download deployer.phar về với tên là deployer.phar luôn:
- Download `deployer.phar` về với tên là deployer.phar luôn:

```
> Fetch các component cần thiết về project:
```bash
composer global require deployer/deployer
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

? cái này có cần thiết không vậy

Comment on lines +35 to +40
> Lưu ý:

> Ở đây chỉ để cập tới việc deploy code, ngoài ra để ứng dụng có thể chạy được thì hiển nhiên là chúng ta phải setting database,
> tạo key SSH thông luồng giữa local-server-github, user trên server, config host, ...

> Vì bản chất deployer sử dụng giao thức SSH để lưu chuyển data qua lại giữa các bên nên nó sẽ không đảm nhiệm được những nhiệm vụ ngoài phạm vi.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gộp chỗ này thành 1 chú ý thôi, chỉnh đậm, liệt kê trong chú ý đó

Comment on lines +113 to +127
>-- .dep
>
>-- current
>
>-- releases
>
>>--> 1
>
>>--> ...
>
>-- shared
>
>>--> .env
>
>>--> storage
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

├── .dep
├── current -> releases/1
├── releases
│   └── 1
└── shared
    ├── .env
    └── storage

@minhnv-1408
Copy link
Copy Markdown
Contributor

minhnv-1408 commented Aug 18, 2020

Tôi nghĩ ông nên thêm một mục về package này cho riêng Laravel nữa
https://github.com/lorisleiva/laravel-deployer

# 3. Những điều cần biết
> Lưu ý:

> Ở đây chỉ để cập tới việc deploy code, ngoài ra để ứng dụng có thể chạy được thì hiển nhiên là chúng ta phải setting database,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

config database hay setting?

+ [ ] NodeJs application
+ [ ] <strong>[Tool]</strong>: Rocketeer
+ [ ] <strong>[Tool]</strong>: Deployer
+ [x] <strong>[Tool]</strong>: Deployer
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[x] [<strong>[Tool]</strong>: Deployer](.docs/deploy-tool/)

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants