Would like to modify source code / css for an app. Where are apps folder located on the server?
-
I use the Digital Ocean Market place cloudron app.
-
Generally ... you can't ... for source code.
It's in/app/code
which is read only.
However for CSS, depending on the app, it might be under/app/data
.
Bit more detail in the question usually helps. -
You can view all packaged apps here: https://git.cloudron.io/cloudron
For more info about what you can edit: https://docs.cloudron.io/packaging/cheat-sheet/#read-only -
@therealwebmaster Changing settings is app specific. If you can create a post in this forum in the app's section we can help further.
But in general, you cannot modify source code of apps. We deploy apps in readonly filesystem to explicitly prevent this. Modifying source code will break updates and Cloudron is optimized for keeping apps updated and secure (as opposed to running a specific version of an app with custom changes).
-
G girish marked this topic as a question on
-
G girish has marked this topic as solved on
-
@timconsidine Where is located /app on the server?
-
More specifically, I'd like to change the css of the Harmony theme for NocoBB. I can't find it! @BrutalBirdie Can you point me to the file and full server path?
-
I think you got something wrong here @therealwebmaster
Each app is isolated (in a container).
Each app has its own filesystem.
Each app has/app/*
as described in https://docs.cloudron.io/packaging/cheat-sheet/#read-onlyYou should really read up in the provided docs.
https://docs.cloudron.io/apps/ -
@BrutalBirdie said in Would like to modify source code / css for an app. Where are apps folder located on the server?:
Each app is isolated (in a container).
Does it mean it can't be modified?
Each app has
/app/*
as described in https://docs.cloudron.io/packaging/cheat-sheet/#read-onlyPlease clarify
You should really read up in the provided docs.
https://docs.cloudron.io/apps/I did. Nothing is said about apps folders location on server.
-
@therealwebmaster said in Would like to modify source code / css for an app. Where are apps folder located on the server?:
You should really read up in the provided docs.
https://docs.cloudron.io/apps/I did. Nothing is said about apps folders location on server.
It's literally there.
https://docs.cloudron.io/apps/
Note that Cloudron runs apps as containers with a read-only file system. Only /run (dynamic data), /app/data (backup data) and /tmp (temporary files) are writable.
Same goes for: https://docs.cloudron.io/packaging/cheat-sheet/#read-only
-
@therealwebmaster said in Would like to modify source code / css for an app. Where are apps folder located on the server?:
More specifically, I'd like to change the css of the Harmony theme for NocoBB. I can't find it! @BrutalBirdie Can you point me to the file and full server path?
I guess you mean NodeBB. The way to do this is not by modifying source code but in NodeBB's admin panel: