-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor codebase and fix TS issues (#94)
- Loading branch information
Showing
204 changed files
with
2,483 additions
and
2,790 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 |
---|---|---|
@@ -1,16 +1,15 @@ | ||
NEXT_PUBLIC_DRUPAL_BASE_URL=${NEXT_PUBLIC_DRUPAL_BASE_URL} | ||
NEXT_IMAGE_DOMAIN=${NEXT_IMAGE_DOMAIN} | ||
NEXT_PUBLIC_SITE_NAME=${NEXT_PUBLIC_SITE_NAME} | ||
NEXT_PUBLIC_DRUPAL_BASE_URL=https://library-dev.sites-pro.stanford.edu | ||
NEXT_PUBLIC_SITE_NAME=Local Environment | ||
|
||
#DRUPAL_DRAFT_CLIENT=${DRUPAL_DRAFT_CLIENT} | ||
#DRUPAL_DRAFT_SECRET=${DRUPAL_DRAFT_SECRET} | ||
DRUPAL_PREVIEW_SECRET=${DRUPAL_PREVIEW_SECRET} | ||
DRUPAL_REVALIDATE_SECRET=${DRUPAL_REVALIDATE_SECRET} | ||
# Grab these from the Vercel Environment Variables. | ||
#DRUPAL_DRAFT_CLIENT=CLIENT | ||
#DRUPAL_DRAFT_SECRET=SECRET | ||
#DRUPAL_PREVIEW_SECRET=SECRET | ||
#DRUPAL_REVALIDATE_SECRET=SECRET | ||
|
||
#LIBCAL_CLIENT_ID=${LIBCAL_CLIENT_ID} | ||
#LIBCAL_CLIENT_SECRET=${LIBCAL_CLIENT_SECRET} | ||
#LIBGUIDE_CLIENT_ID=${LIBGUIDE_CLIENT_ID} | ||
#LIBGUIDE_CLIENT_SECRET=${LIBGUIDE_CLIENT_SECRET} | ||
# LibApps credentials. | ||
#LIBGUIDE_CLIENT_ID=ID | ||
#LIBGUIDE_CLIENT_SECRET=SECRET | ||
|
||
# When running `yarn build` this will build every page. | ||
#BUILD_COMPLETE=true | ||
# To build every page when running `yarn build`, change this to 'true' (prod environment). | ||
BUILD_COMPLETE=false |
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
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 |
---|---|---|
@@ -1,2 +1,11 @@ | ||
Stanford University Library | ||
--- | ||
# Stanford University Library | ||
|
||
## Development | ||
1. Copy `.env.example` to `.env.local` | ||
2. Configure the environment variables using the `.env.local`. The credentials can be found in the Vercel UI. | ||
3. `yarn dev` | ||
|
||
### Development Notes | ||
The Drupal environment uses a customized paragraph preview implementation that uses an iframe. That preview is in the | ||
`app/(admin)` route group. The reason it is in a different route group is to allow the `(public)` group to have the | ||
layout component for the home page and all slug pages, but not in the preview route. |
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
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
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
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
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
Oops, something went wrong.
17af7ef
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
su-library – ./
library-prod.stanford.edu
library-netlify.stanford.edu
library.stanford.edu
su-library.vercel.app
su-library-git-1x-stanford-libraries.vercel.app
su-library-stanford-libraries.vercel.app