Skip to content

Subscriptions app located inside My Account

Notifications You must be signed in to change notification settings

vtex/my-subscriptions

Repository files navigation

My Subscriptions

  • This is the monorepo that contains all the code related to rendering Subscriptions related information on the shopper my account page.

For more info about the MyAccount page itself, please check the app repository.

List of Apps

APP URL Description
[email protected] v3 App responsible for the subscriptions pages inside MyAccount.
[email protected] v0 Auxiliary app used to display the app on Portal stores.

Git Secret

This repository uses git secret. To get access to the encrypted code:

  1. Generate a gpg key: gpg --gen-key
  2. Get your public key : gpg --armor --export [email protected] > mykey.asc
  3. Send your key to an admin

Development

Developing

Some of the files used inside the apps/vtex-my-subscriptions-3 are encrypted, before linking it to test your changes you have to:

  1. run git secret reveal ** You will need the git secrets tooll installed and ask for one of the repo`s admin to add your public key to the ring.

  2. run vtex link

Adding a new user to the secrets ring

  1. Ask for the requester to generate a public key as mentionend on the ## Git Secrets section.
  2. Import the public key using gpg --import NAME_OF_THE_FILE ** gpg is required for this to work.
  3. Add the requester to the key ring using git secret tell REQUESTER_EMAIL ** the email needs to be the same used to generate the key.
  4. Encrypt the file again with the new entries using git secret hide.
  5. Save the changes to the repo.

Deploying a new version

This repo doesn't use the VTEX I/O CI/CD bot, because its an monorepo.

  1. Go to the folder of the desired app. cd apps/...
  2. Use the releasy tool to generate a new version of your app respecting the SEMVER. releasy patch/minor/major releasy
  3. Publish it. vtex publish --public
  4. Test the new version. Runing vtex install AAP@VERSION on your test account.
  5. Deploy vtex deploy

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Felipe Sales

💻 📖

Christian Kaisermann

💻

This project follows the all-contributors specification. Contributions of any kind welcome!