-
Notifications
You must be signed in to change notification settings - Fork 75
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 #829 from supertokens/multitenancy-dashboard
fix: dashboard update for tenant management
- Loading branch information
Showing
182 changed files
with
6,731 additions
and
227 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 |
---|---|---|
|
@@ -177,6 +177,21 @@ Content for Custom UI | |
</PreBuiltOrCustomUISwitcher> | ||
``` | ||
|
||
## Generating screenshots / gifs | ||
|
||
`screenshots` folder has scripts to generate screenshots and gifs. To generate them, do the following steps: | ||
|
||
- Setup supertokens demo app using `npx create-supertokens-app@latest` | ||
- Update `config.ts` to point to `localhost:3567` instead of `try.supertokens.com` | ||
- Run Supertokens core locally using [docker](https://supertokens.com/docs/thirdpartypasswordless/pre-built-ui/setup/core/with-docker) | ||
- Create a [dashboard user](https://supertokens.com/docs/thirdpartypasswordless/pre-built-ui/setup/user-management-dashboard/setup#creating-dashboard-credentials) with email `[email protected]` and password `demopass123`. | ||
- Run: | ||
- `cd screenshots` | ||
- `npm i` | ||
- `bash generate-all.sh` | ||
|
||
Once all the commands run successfully, the screenshots will be placed appropriately in the `static` directory. | ||
|
||
## Building for deployment | ||
- This only works if have access to the `supertokens-backend-website` and `main-website` repo. | ||
- Make sure that the `main-website` repo contains the `docs` repo and the `supertokens-backend-website` repo. | ||
|
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/bin/bash | ||
|
||
npm run execute ./tenant-management/dashboard/overview.yaml | ||
|
||
npm run execute ./tenant-management/create-provider/new-active-directory.yaml | ||
npm run execute ./tenant-management/create-provider/new-apple.yaml | ||
npm run execute ./tenant-management/create-provider/new-bitbucket.yaml | ||
npm run execute ./tenant-management/create-provider/new-discord.yaml | ||
npm run execute ./tenant-management/create-provider/new-facebook.yaml | ||
npm run execute ./tenant-management/create-provider/new-github.yaml | ||
npm run execute ./tenant-management/create-provider/new-gitlab.yaml | ||
npm run execute ./tenant-management/create-provider/new-google-workspaces.yaml | ||
npm run execute ./tenant-management/create-provider/new-google.yaml | ||
npm run execute ./tenant-management/create-provider/new-linkedin.yaml | ||
npm run execute ./tenant-management/create-provider/new-okta.yaml | ||
npm run execute ./tenant-management/create-provider/new-twitter.yaml | ||
npm run execute ./tenant-management/create-provider/new-saml.yaml | ||
|
||
npm run execute ./user-roles/create-role.yaml |
Oops, something went wrong.