doc/pages/02.administer/60.extend/05.install_unpackaged_app/install_unpackaged_app.md

30 lines
1.2 KiB
Markdown
Raw Normal View History

---
title: Install unpackaged apps
template: docs
taxonomy:
category: docs
routes:
default: '/install_unpackaged_apps'
---
2022-08-04 23:47:06 +02:00
## PHP or HTML/JS apps
If your app is a PHP or HTML/JS app, you probably should use the `Custom Webapp`, also know as `my_webapp`, in order to configure nginx, php, mysql, yunohost permission and backup for you.
## Other technologies
If you use an other techno, you should install it like on a classical debian.
To expose the app on the web through nginx and be able to manage access permissions to the webapp, you could use the `redirect` app to create a nginx reverse proxy on your local ip/port running the service.
!!! You should use the proxy mode of the redirect app and not HTTP redirections mode.
If you know a bit YunoHost, you can use the [yunohost helpers](/helpers) to do your install to be close to the way YunoHost install its packaged apps. To use those helpers, you have to initialize first your CLI by this way:
```
source /usr/share/yunohost/helpers
app=YOURAPPNAME
```
You probably should create custom backup and restore hooks to integrate your app to your YunoHost backup/restore process. See [Backup and restore hooks]()