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

Prefer using @foal/cli locally than globally #1273

Merged
merged 5 commits into from
Aug 3, 2024
Merged

Prefer using @foal/cli locally than globally #1273

merged 5 commits into from
Aug 3, 2024

Conversation

LoicPoullain
Copy link
Member

Issue

In the tutorial, the CLI is installed globally to create a new application or generate files. When a new project is created, the CLI is also installed locally to make it work when deploying the application to a CI or to production.

This maintains two versions of the programming interface simultaneously and makes a dependency be used globally, which is not good practice.

Solution

  • Change the documentation and examples to only use the CLI locally.

@LoicPoullain LoicPoullain mentioned this pull request Aug 3, 2024
8 tasks
@LoicPoullain LoicPoullain merged commit 7ab0827 into v4-5-0 Aug 3, 2024
2 checks passed
@LoicPoullain LoicPoullain deleted the docs-cli branch August 3, 2024 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

1 participant