Also, we made some updates to env to use default variables so that basic laravel apps will run (just work) after deployment -> we will include this in our next release. Thanks for good insights and helping us reduce friction!
i get why, because in step 2, composer install failed while deploy database… with default config.
because it failed, Activate New Deployment not run …
so link is not done with current directory
and fetch maybe fetch in current.
so it’s blocked.
i try other way.
manually add .env in realPath but not work. each deploy destroy .env.
It looks like you are still confused a bit with how fetch works. Fetch gets your env variables if it is already on the server. But the first time, you may not have any env variables to begin with.
So, the very first time, you need to add your env variables and then click Sync. You can click that blue switcher on top-right to switch between field editor and text editor.
Once you have synced your variables, they are available in future for fetching and editing. To summarize:
Add your env variables first
Sync the variables to your server
Deploy
Fetch your env variables and do more editing (like adding, removing, updating etc.)
Hi @spham - sorry for the confusion, the video below shows how you can easily copy and paste the env file and then apply it to your server. Hope this helps!
You’ll still need to fetch the env file to view the current env. Are you trying to deploy October CMS still? I can take a look at it tomorrow to see if there is anything else needed for October.
Something to keep in mind: Cleaver’s Webapps feature is much more powerful than what Forge and Ploi provides. Webapps feature is more comparable to Laravel Envoyer then Laravel Forge.
Hi @spham - I took a look at deploying October CMS and was able to get it to run. I posted a blog here Deploying October CMS . I hope this helps you with launching yours!
Also, we’ve released some new updates, some based on your feedback! I’m hoping this helps reduce some more friction around the env setup. https://releases.cleaver.cloud/