Files
TheGame/packages/web/README.md
Alec LaLonde 08bae099a9 Cache ENS lookup (#1542)
* Added usePlayerName and usePlayerURL

* Removed resize handler as it was always rendering regardless of edit status

* re-work player page to avoid duplicate player lookups

* Lint fixes

* Force 5.x version of ethers
2023-04-12 05:54:59 -04:00

775 B

MetaGame NextJS Web App

In the project directory, you can run:

yarn dev

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.

yarn typecheck

Runs TypeScript to check if there are any type errors

yarn build

Builds the app and exports the static site for production to the out folder.

yarn start

Runs the NextJS server for production use (We generate a static site right now, not running a server)

Troubleshooting

You can build and debug the Docker container (that is used in production) with:

docker build -f docker/frontend/Dockerfile --build-arg GRAPHQL_URL=http://host.docker.internal:8080/v1/graphql  .