Back to Wasp

Building The Web Client

web/versioned_docs/version-0.20/deployment/deployment-methods/_building-the-web-client.md

0.23.0566 B
Original Source

To build the web app, position yourself in .wasp/build/web-app directory:

cd .wasp/build/web-app

Run

npm install && REACT_APP_API_URL=<url_to_wasp_backend> npm run build

where <url_to_wasp_backend> is the URL of the Wasp server that you previously deployed.

:::caution Client Env Variables Remember, if you have defined any other client-side env variables in your project, make sure to add them to the command above when building your client :::