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

improve docs: add vercel link and section props description #53

Open
dogfrogfog opened this issue Nov 7, 2024 · 0 comments
Open

improve docs: add vercel link and section props description #53

dogfrogfog opened this issue Nov 7, 2024 · 0 comments

Comments

@dogfrogfog
Copy link
Member

Develop

Setup environment variables:
Link Vercel projects:

vercel login
vercel link --repo

Pull environment variables from Vercel:

vercel env --cwd apps/sanity --environment development pull
vercel env --cwd apps/storyblok --environment development pull

To develop all apps and packages, run the following command:

pnpm run dev

Remote Caching

Turborepo can use a technique known as Remote Caching to share cache artifacts across machines, enabling you to share build caches with your team and CI/CD pipelines.

By default, Turborepo will cache locally. To enable Remote Caching you will need an account with Vercel. If you don't have an account you can create one, then enter the following commands:

pnpm dlx turbo login

This will authenticate the Turborepo CLI with your Vercel account.

Next, you can link your Turborepo to your Remote Cache by running the following command from the root of your turborepo:

pnpm dlx turbo link
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

No branches or pull requests

1 participant