Hey, guys.
I have directus app installed on Ubuntu VPS. Of course, I didn’t develop it.
Now I want to edit, but I can’t find where I can do that.
I run the app using pm2 start cmd, but extensions directory is empty and inside directories are all empty.
Please help. Ty
I have a website made by directus app and it’s deployed online. I have no idea of how to update some things on it? You mean I have source code in my github?
Extensions are generally the way to extend the Directus App/API.
The app is local but you are running the production build so no source code there. Can you tell me what it is you are actually trying to do or achieve?
I have a website made by directus app and it’s deployed online.
The directus app doesnt “make websites” that is something you would have setup yourself. So is your question related to the Directus platform itself or your custom website that interacts with Directus?
Now I want to edit, but I can’t find where I can do that.
Are you perhaps just trying to find the admin interface? to change content in the database?
Yes, I know I am so poor to understand what you explain, but please be patient.
It’s custom website that interacts with Directus? Otherwise, it’s made in the admin interface?
Yes, I could see API key and SECRET in .env file. But I think there’s no API url. Can you please tell me where I can reach out to admin interface and edit on it?
brainslug. It’s my website which has online domain. it’s hosted on my vps
Oh, I think I get a bit how it works. I can set up data models in admin interface.
And add/edit data to the database which Directus uses using third-party api. Data will be reflected on admin interface too? Do I have any way to update database using directus api or what?
As you can see, there are several categories. Data for them is updated by third-party api. I think Directus retrieves data from third-party service.
I am confused. For example, I want to sync data from third-party service to my Directus db (app) daily. How can I do that?
Where can I check and edit Directus APIs? Especially about Collections
The API is documented here if you want to check what it looks like. Items | Directus Docs
For adding custom logic to the API you can look into creating a custom endpoint extension. Endpoints | Directus Docs
I am confused. For example, I want to sync data from third-party service to my Directus db (app) daily. How can I do that?
Depends on your needs, you can use the API to create/update items, you can use the import endpoint to import a CSV or talk to your database directly if desired.