* switch to pnpm * chore(ci): fix pnpm install command * cleanup * chore: Remove unused dependencies and imports
40 lines
895 B
Markdown
40 lines
895 B
Markdown
# thirdweb.com
|
|
|
|
This repo contains the full source for all of thirdweb.com and the thirdweb dashboard.
|
|
|
|
## Building
|
|
|
|
### Install dependencies
|
|
|
|
We use `pnpm`.
|
|
|
|
```sh
|
|
pnpm install
|
|
```
|
|
|
|
### Generate graphql types
|
|
|
|
```sh
|
|
pnpm apollo-codegen
|
|
```
|
|
|
|
### Starting local dev server.
|
|
|
|
```sh
|
|
pnpm dev
|
|
```
|
|
|
|
### Building for production
|
|
|
|
```sh
|
|
pnpm build
|
|
```
|
|
|
|
### Environment Variables
|
|
|
|
Some env vars can be overridden that are required for some external services to work. You can find them in the `.env.example` file at the root level of the project including some descriptions of what they are used for.
|
|
|
|
To define env vars please create a `.env` file based on the `.env.example` template at the root level of the project. This file is ignored by git so you can safely add it to your local copy of the project.
|
|
|
|
**Add your thirdweb clientID and secret key to build a basic functioning version of the site.**
|