@vtex/faststore-plugin-buyer-portal 1.0.34 → 1.0.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/README.md +29 -0
  3. package/package.json +1 -1
package/CHANGELOG.md ADDED
@@ -0,0 +1,13 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ## [Unreleased]
9
+
10
+ ### Added
11
+
12
+ - Add CHANGELOG file
13
+ - Add README file
package/README.md ADDED
@@ -0,0 +1,29 @@
1
+ # How to Run the project locally
2
+
3
+ - Step 1: Clone this repo, the Buyer Portal
4
+ - Step 2: Clone the [store repo](https://github.com/vtex-sites/b2bfaststoredev.store)
5
+ - Open two terminals, one at the Buyer Portal Repo, one at the Store Repo
6
+
7
+ ### On the Buyer Portal Repo:
8
+
9
+ - Run `yarn`
10
+ - Run `yarn link` - You will get a return with `@vtex/faststore-plugin-buyer-portal`
11
+
12
+ ### On the Store Repo:
13
+
14
+ - Run `yarn link @vtex/faststore-plugin-buyer-portal`
15
+ - Run `yarn`
16
+ - Run `yarn dev` to start your local server
17
+ - You will acess the buyer-portal via: localhost:3000/buyer-portal
18
+
19
+ ### Generating a Cookie
20
+
21
+ - Go to `b2bdev.vtexfaststore.com/login` and log-in as a user that has already been added to an Unit. If you don't have one, contact someone on the B2B - Enabler
22
+ - Go to copy your `VtexIdclientAutCookie_b2bfaststoredev` cookie
23
+ - Create a cookie in your `localhost:3000` with the `VtexIdclientAutCookie_b2bfaststoredev` key and the value you just copied
24
+ - Go to `localhost:3000/buyer-portal`
25
+
26
+ ## Developing
27
+
28
+ - Make your changes at the Buyer Portal repo
29
+ - To test your changes, stop your local server and start it again with the `yarn dev` on the Store Repo
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vtex/faststore-plugin-buyer-portal",
3
- "version": "1.0.34",
3
+ "version": "1.0.35",
4
4
  "description": "A plugin for faststore with buyer portal",
5
5
  "main": "index.js",
6
6
  "dependencies": {