Back to Wasp

Building The Web Client

web/versioned_docs/version-0.15/advanced/deployment/_building-the-web-client.md

0.23.0581 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 Environment Variables Remember, if you have manually defined any other client-side environment variables in your project, make sure to add them to the command above when building your client :::