Skip to content

Commit ba05047

Browse files
committed
Merge branch 'main' into sentry-for-next-js
2 parents b8f7a4b + d509c4e commit ba05047

24 files changed

+220
-177
lines changed

.env

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# reference https://nextjs.org/docs/basic-features/environment-variables#exposing-environment-variables-to-the-browser
22
# to learn about the NEXT_PUBLIC prefix
33

4-
NEXT_PUBLIC_PROVIDER_NAME=acme
5-
NEXT_PUBLIC_PROVIDER_ID=572
4+
NEXT_PUBLIC_PROVIDER_NAME=beachsidebiotech
5+
NEXT_PUBLIC_PROVIDER_ID=5159
66
NEXT_PUBLIC_SCIENTIST_API_VERSION=v2
77

88
SENTRY_DSN=https://[email protected]/4504810271408128

README.md

Lines changed: 22 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
- [Getting Started](#getting-started)
55
- [Webstore Component Library](#webstore-component-library)
6+
- [Upgrading To The Latest Version](#upgrading-to-the-latest-version)
67
- [Component Library Dev Mode](#component-library-dev-mode)
78
- [Environment Variables](#environment-variables)
89
- [Authentication](#authentication)
@@ -12,20 +13,19 @@
1213
- [Testing](#testing)
1314
- [Jest](#jest)
1415
- [Cypress](#cypress)
15-
- [Cutting a New Release](#cutting-a-new-release)
16+
- [Deployment](#deployment)
1617

1718
---
1819

1920
## Getting Started
2021

21-
1. [Configure token to pull from the github npm repository](configure-token-to-pull-from-the-github-npm-repository)
22-
2. Confirm that your local node version is compliant with the node engine in the package.json
22+
1. Confirm that your local node version is compliant with the node engine in the package.json
2323
2. `yarn` to install automatic dependencies
2424
3. `yarn dev` to boot this app as a server
25-
- Open [http://localhost:3000](http://localhost:3000) with your browser to see the result
26-
- Create pages by adding them to the `pages` directory
27-
- Reference [this documentation](https://nextjs.org/docs/basic-features/pages) for more info about pages
28-
- The page auto-updates as you edit the file, although there may be a few seconds delay
25+
- Open [http://localhost:3000](http://localhost:3000) with your browser to see the result
26+
4. Create pages by adding them to the `pages` directory
27+
- Reference [this documentation](https://nextjs.org/docs/basic-features/pages) for more info about pages
28+
- The page auto-updates as you edit the file, although there may be a few seconds delay
2929

3030
<!-- [API routes](https://nextjs.org/docs/api-routes/introduction) can be accessed on [http://localhost:3000/api/hello](http://localhost:3000/api/hello). This endpoint can be edited in `pages/api/hello.js`.
3131
@@ -34,6 +34,16 @@ The `pages/api` directory is mapped to `/api/*`. Files in this directory are tre
3434
### Webstore Component Library
3535
The webstore requires a [React component library](https://reactjs.org/docs/react-component.html) of view components. That dependency is packaged and released independently.
3636

37+
#### Upgrading To The Latest Version
38+
In the terminal:
39+
``` bash
40+
# first check for whether there is an updated version
41+
yarn outdated @scientist-softserv/webstore-component-library # check the values under "current" and "latest"
42+
43+
# if there's an updated version
44+
yarn upgrade @scientist-softserv/webstore-component-library --latest
45+
```
46+
3747
#### Component Library Dev Mode
3848
Using the local github repository requires you to manually clone the component library to your computer, build, and link it:
3949

@@ -149,7 +159,7 @@ If you are creating an e2e test, it will live in the `cypress/e2e` directory. Co
149159
- do not ever commit this value
150160
- this value will need to be updated whenever the cookie expires, approximately once per month
151161

152-
## Cutting a New Release
162+
<!-- ## Cutting a New Release
153163
A git tag should exist for every release. We use `release-it` to automate the coordination of package.json and git tag.
154164
155165
If you want to release a new semver release run:
@@ -170,4 +180,7 @@ In order to deploy this new release to staging, use the command below
170180
``` bash
171181
# the tag is the semver release that was created above
172182
helm upgrade --install --kube-context=k3 --namespace=webstore-staging webstore-staging charts/webstore -f charts/webstore/values/webstore-staging.yaml --set=image.tag=X.X.X
173-
```
183+
``` -->
184+
185+
## Deployment
186+
We are currently using [Vercel](www.vercel.com) to auto deploy this app to our staging environment. The `main` branch is accessible at https://webstore-staging.vercel.app.

assets/img/hero.jpg

-355 KB
Binary file not shown.

assets/img/item.jpg

-40.2 KB
Binary file not shown.
47.3 KB
Loading
1.32 MB
Loading

assets/svg/Logo.js

Lines changed: 0 additions & 36 deletions
This file was deleted.

assets/svg/bbs-logo-white.png

6.36 KB
Loading

assets/svg/bbs-logo-white.svg

Lines changed: 1 addition & 0 deletions
Loading

assets/svg/bbs-logo.svg

Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)