More actions
Add an app deployment guide |
m Capitalize "Nest" |
||
Line 1: | Line 1: | ||
== Steps to getting your app up and running == | == Steps to getting your app up and running == | ||
* SSH in and copy your files over using the [[Quickstart]] guide. | * SSH in and copy your files over using the [[Quickstart]] guide. | ||
* Use the [[Systemd]] guide to create a service for your app. This way if | * Use the [[Systemd]] guide to create a service for your app. This way if Nest restarts, your app will come back online automatically. I would recommend creating a bash script that runs the command(s) necessary to start your app and then have the <code>ExecStart</code> field in your service point to that. | ||
* If you would like to setup a subdomain for your app, run the command <code>nest subdomain add <name></code>. After that, go into the Caddyfile and add the line <code>reverse_proxy :<port></code> underneath the line <code>#Add your Caddy directives here!</code> for your domain. Lastly, restart Caddy by running <code>systemctl --user reload caddy</code>. ''Please note this step only explains how to add a subdomain for your app and not a custom domain.'' | * If you would like to setup a subdomain for your app, run the command <code>nest subdomain add <name></code>. After that, go into the Caddyfile and add the line <code>reverse_proxy :<port></code> underneath the line <code>#Add your Caddy directives here!</code> for your domain. Lastly, restart Caddy by running <code>systemctl --user reload caddy</code>. ''Please note this step only explains how to add a subdomain for your app and not a custom domain.'' | ||
* For more information on any of these steps look at the [[Main Page]]. | * For more information on any of these steps look at the [[Main Page]]. |
Latest revision as of 14:00, 27 April 2024
Steps to getting your app up and running
- SSH in and copy your files over using the Quickstart guide.
- Use the Systemd guide to create a service for your app. This way if Nest restarts, your app will come back online automatically. I would recommend creating a bash script that runs the command(s) necessary to start your app and then have the
ExecStart
field in your service point to that. - If you would like to setup a subdomain for your app, run the command
nest subdomain add <name>
. After that, go into the Caddyfile and add the linereverse_proxy :<port>
underneath the line#Add your Caddy directives here!
for your domain. Lastly, restart Caddy by runningsystemctl --user reload caddy
. Please note this step only explains how to add a subdomain for your app and not a custom domain. - For more information on any of these steps look at the Main Page.