generated from rajput-hemant/react-template-vite
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Alexander Mangel <[email protected]>
- Loading branch information
1 parent
fd500de
commit 364709e
Showing
2 changed files
with
108 additions
and
8 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,14 +1,58 @@ | ||
# mud | ||
<div align=center> | ||
|
||
<div style="display: flex; justify-content: center; gap: 1rem;"> | ||
<img src="assets/header.svg" style="width: 200px"> | ||
</div> | ||
|
||
</div> | ||
|
||
# LAPUTA | ||
☁️🏯 a world of floating cities 🏰☁️ - EthGlobal 2023 | ||
|
||
[Sign up for the waitlist](https://www.laputa.gg) | ||
|
||
## Development | ||
|
||
**Install dependencies:** | ||
|
||
### mud | ||
|
||
[mud quick start](https://mud.dev/quick-start) | ||
|
||
## Prerequisites | ||
#### Prerequisites | ||
- Foundry | ||
```bash | ||
curl -L https://foundry.paradigm.xyz | bash | ||
``` | ||
- Node.js | ||
- pnpm | ||
```bash | ||
# after installing node | ||
npm install --global pnpm | ||
``` | ||
|
||
## Available Scripts | ||
|
||
In the project directory, you can run: | ||
```bash | ||
pnpm run <script> | ||
``` | ||
|
||
foundry (forge, anvil, cast) | ||
node.js (v16+) | ||
pnpm (after installing node: npm install --global pnpm) | ||
| **Script** | **Description** | | ||
| ----------------- | --------------------------------------------------------------- | | ||
| `build` | Builds the app using pnpm. | | ||
| `dev` | Runs both contracts and client in development mode concurrently.| | ||
| `dev:client` | Runs the client development script. | | ||
| `dev:contracts` | Runs the contracts development script. | | ||
| `foundry:up` | Downloads and runs foundry, bash, and foundryup. | | ||
| `mud:up` | Sets the mud version to main and installs dependencies. | | ||
| `prepare` | Installs husky and optionally runs foundryup. | | ||
| `test` | Runs tests recursively on all packages. | | ||
| `preview` | Compiles TypeScript, builds, and previews the app with Vite. | | ||
| `lint` | Runs linting recursively on all packages. | | ||
| `type-check` | Runs type-checking recursively on all packages. | | ||
|
||
## Dev | ||
## References / useful | ||
|
||
pnpm run dev | ||
http://localhost:3000 | ||
- 🔥🚒 **[React-Three-Fiber Performance Pitfalls](https://docs.pmnd.rs/react-three-fiber/advanced/pitfalls)** - Must read on R3F + Three.js | ||
- 🧸📖 **[Zustand intro](https://refine.dev/blog/zustand-react-state/#getting-started-with-zustand)** - How to use Zustand |
Oops, something went wrong.