Modifying Files in /app/code
-
Hello,
Is there a way to modify files located in /app/code for a deployed app? For example, I'm looking at migrating Xenforo over to Discourse but need to modify the importer file in /app/code/scripts in order to make this happen.Thank you!
-
@jlx89 yes, if you do it in app>config>repair>recovery mode.
The changes though are temporary, as with every restart/upgrade it reverts.
-
@robi Thank you so much, that should work out since it's just temporary for the upgrade.
-
I think for modifying
/app/code
, you might have to use the CLI tool since the recovery mode in the UI currently puts the apps in "paused" mode but the file system is still readonly. Instead, install the CLI tool and thencloudron debug --app app.domain.com
. -
@girish Thank you! I will give that a shot.