mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-12 10:53:13 +00:00
update readme
This commit is contained in:
23
README.md
23
README.md
@@ -28,6 +28,7 @@ This repo has some additional tools:
|
|||||||
|
|
||||||
### Useful commands
|
### Useful commands
|
||||||
|
|
||||||
|
- `pnpm generate` - Build proto stubs for server and client package
|
||||||
- `pnpm build` - Build all packages and the login app
|
- `pnpm build` - Build all packages and the login app
|
||||||
- `pnpm dev` - Develop all packages and the login app
|
- `pnpm dev` - Develop all packages and the login app
|
||||||
- `pnpm lint` - Lint all packages
|
- `pnpm lint` - Lint all packages
|
||||||
@@ -63,3 +64,25 @@ See [Working with the npm registry](https://docs.github.com/en/packages/working-
|
|||||||
- Buf setup to get grpc stub in the core package
|
- Buf setup to get grpc stub in the core package
|
||||||
- Decide whether a seperate client package is required to expose public client convenience methods only or generate a grpc-web output there
|
- Decide whether a seperate client package is required to expose public client convenience methods only or generate a grpc-web output there
|
||||||
- Fix #/\* path in login application
|
- Fix #/\* path in login application
|
||||||
|
|
||||||
|
### Run Login UI
|
||||||
|
|
||||||
|
To run the application make sure to install the dependencies with
|
||||||
|
|
||||||
|
```sh
|
||||||
|
pnpm install
|
||||||
|
```
|
||||||
|
|
||||||
|
then generate the GRPC stubs with
|
||||||
|
|
||||||
|
```sh
|
||||||
|
pnpm generate
|
||||||
|
```
|
||||||
|
|
||||||
|
and then run it with
|
||||||
|
|
||||||
|
```sh
|
||||||
|
pnpm dev
|
||||||
|
```
|
||||||
|
|
||||||
|
The login application with run on `localhost:3000`.
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ export default async function Page({ searchParams }: Props) {
|
|||||||
|
|
||||||
{`userId: ${searchParams["userid"]}`}
|
{`userId: ${searchParams["userid"]}`}
|
||||||
<Link href="/register">
|
<Link href="/register">
|
||||||
<Button variant={ButtonVariants.Primary}>go back</Button>
|
<Button variant={ButtonVariants.Primary}>back</Button>
|
||||||
</Link>
|
</Link>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user