Setup CI/CD for my directus cloudron
-
I am using Aws Lightsail ubuntu instance.
I need help to setup CI/CD to delivery my custom extensions there.I was able to login inside my directus app via
cloudron exec, also i have ssh access to my linux via ssh, but i can't find any place to put my extensions to.Any hints would appreciated

-
I am trying to push files using directus cli:

But it says:local file files does not exist
How to proceed? -
I was able to delivery custom directus extension via Filemanager in cloudron UI

But i am still interesting how to setup CI/CD to delivery the updates when i push to repository.
-
push <local> <remote>is pushing local files to the remote (app) .filesis not a local path .@girish Sorry i don't understand your advice. Could you please clarify what the terminal command should look like?
-
push <local> <remote>is pushing local files to the remote (app) .filesis not a local path .@girish I was able to get some progress on my flow:

The command should look like this:cloudron push --app directus.cloud.alefinvest.xyz extensions/ /
but i need to specify <remote> path to be different then root=>/.How can i know the path of my directus app inside my aws lightsail instance?
-
I was able to determine the full path of my directus app installed via cloudron: but i can't push the files via cloudron cli:

-
@Oleksii909 in Cloudron, apps have their own filesystem. If you open the web terminal, you will see the filesystem. The
/app/datais the writable portion, rest if readonly.So, the remote path will be like
/app/data/extensions/. If you open File manager, it is essentially a file browser for/app/datapath of the app . Hope that clarifies! -
@Oleksii909 in Cloudron, apps have their own filesystem. If you open the web terminal, you will see the filesystem. The
/app/datais the writable portion, rest if readonly.So, the remote path will be like
/app/data/extensions/. If you open File manager, it is essentially a file browser for/app/datapath of the app . Hope that clarifies!@girish said in Setup CI/CD for my directus cloudron:
/app/data/extensions/
Finaly i made all my extensions delivery properly with this command:
cloudron push --app directus.cloud.alefinvest.xyz extensions/ /app/data/ -
Another question: is how to deploy via cloudron the custom nextjs app that i want to be hosted in additional url for example:
app.directus.cloud.alefinvest.xyzorapp.cloud.alefinvest.xyz?Could you please point me to the right direction?
-
@Oleksii909 Is that question directus related? How are you hosting your existing nextjs app? Via surfer? If so , look at https://docs.cloudron.io/apps/#aliases
-
N nebulon marked this topic as a question on
-
N nebulon has marked this topic as solved on
-
I was able to deploy with cloudron my
nextjs frontend appfetchingmy directus backend via APIhere is the repository with STEP-BY-STEP guide: https://github.com/alexmazaltov/nextjs-app-for-directus-vai-cloudron
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login