-
Notifications
You must be signed in to change notification settings - Fork 212
docs(clever-cloud): update env config #2050
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
base: main
Are you sure you want to change the base?
Conversation
Updated environment variable configurations for various package managers, replacing deprecated hooks and adjusting Node.js version settings.
@maximepvrt Why is the PR in draft there are still things to modify? π |
@HugoRCD Yes π I just put it up quickly but I havenβt had time to test everything yet! |
@juliamrch can you check that it's ok ? @HugoRCD too ;-) |
I'll run some tests tomorrow if that's ok for you? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After testing, I've included some suggestions.
CC_PRE_BUILD_HOOK
was failing: it seems to be running before the install, and the deployment crashes with the errornuxt command not found
π₯²- The
generate
option: I tested by deploying this repo, but thepackage.json
didn't contain any. - Static (with Apache?): the run command failed with the error
NuxtHub is not compatible with nuxt generate as it needs a server to run
. This is unusual, as the Static Apache runtime provides a server that is already running (it might be worth confirming the information to see if it's outdated, since I no longer work at CC).
Clever Cloud also provides a pure static HTML runtime that it would be worth exploring for this page. For this guide, I suggest we clarify if the instance is either Static with Apache or Static HTML.
Let me know if you'd like me to run additional tests or if I should reach out to my former team to add credits to your accounts for testing purposes.
@maximepvrt Have you had a chance to check out @juliamrch's suggestions ? (no hurry obviously π) |
Co-authored-by: Julia March <[email protected]>
Updated Clever Cloud deployment instructions for npm and added note on static applications.
@juliamrch Thanks for the feedback!
|
https://www.clever.cloud/developers/changelog/2025/08-12-pnpm-yarn-better-support/
https://www.clever.cloud/developers/changelog/2025/06-03-native-bun-support/
π Linked issue
β Type of change
π Description