-
Start developing.
Navigate into your project’s directory and start it up.
cd everlens yarn yarn develop
-
Open the source code and start editing!
Your site is now running at
http://localhost:8000
!Note: You'll also see a second link:
http://localhost:8000/___graphql
. This is a tool you can use to experiment with querying your data. Learn more about using this tool in the Gatsby tutorial. -
Log in using Okta credentials
Comment out the
MAINTENANCE_MESSAGE
environment variable to "disable" maintenance mode.
-
Storybook
Run storybook. Then storybook will run at
http://localhost:6006
yarn storybook
-
Integration and Unit Testing
To run the cypress tests:
yarn test:e2e
To run the JEST tests:
yarn test
A quick look at the top-level files and directories you'll see in project.
.
├── node_modules
├── src
└── components
|── atoms
└── molecules
└── common
|── contexts
|── pages
|── styles
|── tests
└── utils
└── stories
-
/src
: This directory will contain all of the code related to what you will see on the front-end of your site (what you see in the browser) such as your site header or a page template.src
is a convention for “source code”. -
/stories
: This directory will contain all storybook files.
-
Deploys are handled by AWS Amplify
-
Merges to the staging branch deploy to the pre-production location
-
Merges to the master branch deploy to the production location
Lens is built with:
To get deeper information about the project architecture, runtime infrastructure, and troubleshooting guides see the EverLens Operational Handbook