server
Last updated
Was this helpful?
Last updated
Was this helpful?
Running your application in server mode will give you many benefits such as packaging the application into a docker container, and making use of websockets. Since this is an integral requirement of light, it is very simple to start your own server. This guide assumes that an application has already been built using the guides.
Simply add the light start
command to your package.json
You can see the options that light provides by running light start -h
.