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

update package installation tips for install #598

Merged
merged 2 commits into from
Nov 15, 2019

Conversation

tanhe123
Copy link
Contributor

No description provided.

@tanhe123 tanhe123 requested a review from vangie November 15, 2019 11:40
process.emit('SIGINT');
}, 3000);
}
process.nextTick(() => {
Copy link
Collaborator

Choose a reason for hiding this comment

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

为什么需要 nextTick

Copy link
Contributor Author

Choose a reason for hiding this comment

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

让消息显示靠后,避免被淹没

1. fun install sbox -f ${this.serviceName}/${this.functionName} -i
2. fun-install apt-get install ${packageName}
3. type 'exit' to exit container and then reRun your function
step1: fun install sbox -f ${this.serviceName}/${this.functionName} -i
Copy link
Collaborator

Choose a reason for hiding this comment

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

这些 tab 缩进一下。

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done


Also you can install dependencies through one command:

fun install sbox -f puppeteer/html2png --cmd 'fun-install apt-get install ${packageName}'
Copy link
Collaborator

Choose a reason for hiding this comment

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

这里最好缩进一下

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@tanhe123 tanhe123 merged commit e726ee1 into master Nov 15, 2019
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