OK, so you’ve decided to give Unit a try with your web app of choice. You may
be looking for ways to run it faster with less config overhead, streamlining
your technology stack, or simply be tech-curious. In any case:
|Step||Things to do|
|Check the prerequisites|
- Verify that Unit supports your
platform and app language version.
- If possible, check how your app runs beside Unit to avoid confusion.
|Get Unit in your system|
- Install Unit with the language modules you need. Your options:
- Configure and launch Unit in your system:
- Our own and third-party packages rely on systemctl or
- Containerized Unit can be run with common
- If none of the above applies, customize Unit startup manually.
|Prepare the app for Unit|
- (Only applies to Go/Node.js) Patch
your app to run in Unit.
- Choose common options such as
app type, working directory, user/group.
- Add language-specific
settings such as index, entry module, or executable.
|Plug the app into Unit|
- (Optional) Add Unit-wide settings to
your app’s config to run it smoothly.
- Upload your config into Unit to spin up
- (Optional) Set up a route to your app
to benefit from internal routing.
- (Optional) Upload a certificate bundle
if you want to support SSL/TLS.
- Finally, set up a listener to make
your app publicly available.
For details of each step, see specific documentation sections.