If the application code that you want to deploy resides in a subdirectory inside your project's repository, you can configure that using the subpath setting in your app settings. This will be useful if your project is a monorepo where each component that you want to deploy resides in a separate directory.

By default, the subpath will be the root path, /.

Configuring subpath

Monosnap Deploy staging, production or review instances | neetoDeploy 2024-01-12 11 AM-36-54.png
Configuring the subpath to your application code from the app settings.

Monorepo example

If your app is a monorepo with the following structure, you can create two apps.

 |_ /src
    |_ /frontend
    |_ /backend

The frontend and backend can be deployed as two separate apps, neeto-wheel-web-frontend and neeto-wheel-web-backend:

  • neeto-wheel-web-frontend with subpath set to /src/frontend

  • neeto-wheel-web-backend with subpath set to src/backend

Can't find what you're looking for?