#Do I have to deploy in Emergent if I merge into my Github?

1 messages · Page 1 of 1 (latest)

sly finchBOT
#

To have your manual changes reflected on your live, deployed site, you will need to manually redeploy the application within the Emergent platform. Here’s the typical workflow:

  1. Make Changes Locally: Use Cursor or any other editor to make your desired code changes.
  2. Push to GitHub: Commit and push your changes to the connected GitHub repository to save your progress.
  3. Redeploy on Emergent: Open your project in Emergent and use the Deploy button. If you have an existing deployment, you'll have an option to "Replace Existing Deployment." This will update your live application with the latest changes from your repository.

This process ensures that you can test and verify everything before updating the public-facing version of your app.

Regards,

indigo zealot
#

And If I just use the VSCode editor in browser through Emergent to edit code, then I can just redeploy, I don't need to save to git and reedeploy?

sly finchBOT
#

Its always safe to "save to github" after making changes in the code. Before redeploying

indigo zealot
#

I have issues getting correct CORS policies setup for my live website

half flameBOT
#

Hi,

I will need your job ID where you face any issue. You can find it by opening the chat and clicking on the 'i' button in the top right corner. You may have to close the preview to see the button. From the panel that opens, please copy the job ID and share with us.

Common CORS Problems:

  1. Frontend calling wrong backend URL
  • Check if your frontend is calling localhost:8000 instead of deployed backend
  • Update API base URLs to use deployed backend
  • Missing deployed domain in CORS
  • Add your exact deployed URL to allow_origins
  • HTTP vs HTTPS mismatch
  • Ensure both frontend and backend use HTTPS in production

Also can you share the screenshot of the issue please.

indigo zealot
#

9fb97cc9-f46c-4d4e-aae1-00b0208cf540

#

Job ID

#

in my .env

sly finchBOT
#

Could you please share screenshots of where you're experiencing an issue.

Regards,

indigo zealot
sly finchBOT
#

What functionality in your app appears to be broken due to CORS issue. If you could provide some details that would helpful.

Regards,

indigo zealot
#

coming up now