-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #63 from scientist-softserv/restore-login
restore login
- Loading branch information
Showing
2 changed files
with
31 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -103,30 +103,39 @@ yarn upgrade @scientist-softserv/webstore-component-library --latest | |
Using the local github repository requires you to manually clone the component library to your computer, build, and link it: | ||
|
||
#### Preparing your local copy of the component library: | ||
_Prerequisite: clone the [webstore-component-library](https://github.com/scientist-softserv/webstore-component-library.git) and [get the app running](https://github.com/scientist-softserv/webstore-component-library#running-the-app)_ | ||
|
||
cd webstore-component-library | ||
yarn link # now there is a magic symlink in `~/.config/yarn/link` usable by the webstore app | ||
_Prerequisite: clone the [webstore-component-library](https://github.com/scientist-softserv/webstore-component-library.git) (wcl) and [get the app running](https://github.com/scientist-softserv/webstore-component-library#running-the-app)_ | ||
``` bash | ||
cd webstore-component-library | ||
yarn link # now there is a magic symlink in `~/.config/yarn/link` usable by the webstore app | ||
``` | ||
|
||
Choose one of the below: | ||
|
||
npm run build-lib # must be run every time you want a change to show in the webstore | ||
npm run watch-lib # run once and the wcl will watch for changes | ||
``` bash | ||
npm run build-lib # must be run every time you want a change to show in the webstore | ||
npm run watch-lib # run once and the wcl will watch for changes | ||
``` | ||
|
||
#### Preparing your local copy of the webstore: | ||
|
||
# run in a separate terminal window than where the wcl is | ||
cd webstore | ||
yarn link "@scientist-softserv/webstore-component-library" | ||
yarn remove @scientist-softserv/webstore-component-library | ||
(restart the dev server) | ||
``` bash | ||
# run in a separate terminal window than where the wcl is | ||
|
||
cd webstore | ||
yarn link "@scientist-softserv/webstore-component-library" | ||
yarn add react-bootstrap@<version-number> # e.g. yarn add [email protected] | ||
# use the version listed in the dependencies of "@scientist-softserv/webstore-component-library" in the "yarn.lock" file. | ||
yarn remove @scientist-softserv/webstore-component-library | ||
(restart the dev server) | ||
``` | ||
|
||
#### Return to using the packaged version of the webstore-component-library: | ||
# in the webstore repository | ||
yarn unlink "@scientist-softserv/webstore-component-library" | ||
git checkout package.json yarn.lock | ||
yarn install --check-files --force | ||
(restart the dev server) | ||
``` bash | ||
# in the webstore repository | ||
|
||
yarn unlink "@scientist-softserv/webstore-component-library" | ||
git checkout package.json yarn.lock | ||
yarn install --check-files --force | ||
(restart the dev server) | ||
``` | ||
|
||
## Exception Handling | ||
The application is configured to use Sentry. Refer to ".env.development.example" for how to find the necessary variables. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters