Need to access specific folder
-
Hello guys,
I need to translate the web widget of Chatwoot.
For this, according to their documentation, I have to access: app/javascript/widget/i18n
https://www.chatwoot.com/docs/contributing-guide/translation-guidelines
I can't see these folders in the file manager of the app.Can you help me accessing it?
-
@vladimir Those files are readonly in Cloudron package, you can't edit them. App development is not the intended audience for Cloudron and it's not easy to modify and develop code.
A "workaround" is:
- Put the app in repair mode (under Repair section).
- Using Web Terminal, you can then locate the files under
/app/code
. These files won't be visible in File Manager. - In another Web Terminal, you can start the app manually on the Web Terminal using
/app/code/start.sh
.
VERY IMPORTANT: you will lose all your changes when you exit repair mode.
-
@Vladimir @girish
Is there any way to edit application source code that is a little more permanent? For example, I found a bug in N8N and need to fix it now while I wait for the next update.It would be awesome to access the build image and edit it, those edits staying around until the next update. Or have an override folder where tweaked source code can override the default image.
-
@roofboard Please open a new topic instead of necro bumping old topics with semi related answers.
Now to your question.
Right now there is no official way of doing this.
And also I would not recommend of doing this.Do not expect support for the following.
But against my advice, and now this is theoretical, I have not tried it but in theory it should work.
Yes you could do that even, semi permanent.You could edit the image of the app on the server and commit the changes.
BUT WHY?
If you know there is a problem AND you know how to fix it, why don't you commit your change?
Here is the repo: https://git.cloudron.io/cloudron/n8n-app
Please, if you know of a problem submit a PR.