Skip to content

Latest commit

 

History

History
58 lines (38 loc) · 783 Bytes

README.md

File metadata and controls

58 lines (38 loc) · 783 Bytes

VTEX inStore Dev

This project is to launch a new tenant using the instore-core gatsby plugins.

Setup

yarn

PS.: must have npm permission to use private @vtexlab packages

Run

yarn start

Build

yarn build

To test build:

yarn serve

Test

yarn test

To launch another version

Open a PR on this repo (probably updating @vtexlab/gatsby-theme-instore-core version)

Cypress

Setup cypress.json with the correct baseUrl (change from base.vtexlocal to the "name of your tenant".vtexlocal)

Declare the environment variables on your terminal:

export CYPRESS_DEFAULT_LOGIN='VALUE'
export CYPRESS_DEFAULT_PASSWORD='VALUE'

And run Cypress locally with:

yarn cypress:open