Forg development flow for non-admin devs

Hello!,

I’m building Forge apps for a company for internal use. As a developer, I have a Service Account which I use to deploy the app. The company has production and sandbox sites, but when it comes to install the application I can only do it by generating a share link and then ask the site admin to install it.

The issue with this process is that it requires the app to be deployed in production environment, and this is regardless the site (production or sandbox).

I would like to be able to install the application deployed in development environment for sandbox so I can perform updates in the app and test it before deploying it to production and impacting the production site. How is this possible? What am I missing? Because I can develop my application in a personal development site, but I need to test with real data in sandbox before going straight to production, and I don’t see the way to do this.

Thank you!
Rodrigo

The main change that would be required for this to work ideally would be distribution links for staging environment (there’s a ticket for that).

In the meantime, could you ask an admin to install the staging environment version? Deploy to staging and then have them run a forge install command for that environment. Or give you temporary site admin access to install to that site?

Thanks for your comments! I will ask an admin to install the dev environtment version on Staging, but it’s kind of tedious because they need to install CLI, download my source code, etc. But seems to be the only alternative right now.

I can’t see the mentioned ticket, can you add me as watcher please? Thank you!

Since you mentioned working in a sandbox, the simplest solution would be to request temporary site admin rights so you can install it there. That’s the approach we usually take as well, since distribution links for staging environments are still in progress and currently a low priority.

I don’t think I can add anyone as a watcher to tickets except myself.

The workarround I’ve applied to this was adding a site-admin as app contributor, guide them to install forge-cli and then install the app in sandbox for development environment. After that, I’ve been able to apply changes and do “forge deploy -e development” and see changes in sandbox, while having the production environment version installed in production site.

Thanks for your comments :slight_smile: