wunderctl start
The cmd wunderctl start
starts WunderNode and WunderGraph Server together in a single process.
The main purpose is to simplify running all WunderGraph components in production mode. To start the development process you should use wunderctl up
instead.
wunderctl start
not doing any kind of generation. It requires generated files from wunderctl generate
.
For the production it is mandatory to set:
nodeUrl
inWunderNode options
serverUrl
inWunderGraph Server options
Alternatively provide values for the following environment variables
Despite the fact that wunderctl start
is sufficient for simple use cases.
We highly recommend launching WunderNode and WunderGraph Server separately in order to allow scaling both components independently
To accomplish that please use following commands:
wunderctl node start
to start WunderNodewunderctl server start
to start WunderGraph Server
When you are using custom EnvironmentVariable
in your configuration, please make sure that you are providing values for them when running this command