Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: deployment instructions and env variable for assets #4

Closed
wants to merge 1 commit into from

Conversation

bc-victor
Copy link
Contributor

@bc-victor bc-victor commented Apr 17, 2024

What?

Deployment instructions for external customers.

Why?

Currently, BP external devs can't build a custom buyer portal as the vite build will autocomplete the path to the users domain name. This effort aims to provide a solution to the developers by:

  • Changing our example env values, point to production by default.
  • Providing docs on how to deploy currently. Note: This will change in the future and hopefully will take less manual by disabling B2B script injection and letting you write a BC script from a script template

Testing / Proof

Successful build

Screenshot 2024-04-17 at 4 22 15 p m

Custom domain in compiled index.js:
image

How can this change be undone in case of failure?

Revert
ping {suggested reviewers}

Copy link
Contributor

@deov31 deov31 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bc-victor this PR is going to be merged directly to main?

@bc-victor
Copy link
Contributor Author

@deov31 yes

@bc-victor bc-victor closed this May 15, 2024
@bc-victor bc-victor deleted the fix/deployment-instructions branch May 15, 2024 01:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants