Walkthrough
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, ensure the app can run beside Unit to rule out
external issues.
|
Get Unit on the system |
- Install Unit with the language modules you need. Your options:
- Configure and launch Unit on your system:
- Our own and third-party packages rely on systemctl or
service.
- Containerized Unit can be run with common
docker commands.
- If none of the above applies, customize Unit’s startup manually.
|
Prepare the app for Unit |
- (Only applies to :ref:`Go <configuration-go>`) Patch
your app to run on 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
the app.
- (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 the details of each step, see specific documentation sections.