Skip to content

Commit

Permalink
Merge pull request #9 from harker-c/patch-19
Browse files Browse the repository at this point in the history
Update useful-commands.md
  • Loading branch information
zacksiri authored Feb 14, 2024
2 parents b0ff905 + ab9f3a5 commit f2145d5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/content/docs/application/useful-commands.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Useful Commands
description: This page will show you some useful commands about your application.
description: This page will show you some useful commands for handling your application.
---

There is something to note about the generated configuration. If you scroll to the `run` section of your configuration, you will see a list of `commands`. These are commands you can run.
Expand All @@ -13,7 +13,7 @@ This guide assumes you've already [added your cluster](/docs/infrastructure/acce
Make sure you run `lxc remote list` and check if you have the right cluster selected.
:::

## Jumping into the Container
## Jumping into the container

Applications are provisioned inside LXD containers. You can jump into the container in the following way:

Expand Down Expand Up @@ -41,7 +41,7 @@ rc-service app-name restart

## Migrations

If you use frameworks like Ruby on Rails or Phoenix you may have to work with migrations. They can be run in the following way.
If you use frameworks like Ruby on Rails or Phoenix, you may have to work with migrations. They can be run in the following way.

```bash
rc-service app-name migrate
Expand All @@ -57,7 +57,7 @@ rc-service app-name logs

## Console

If your application has console access you can use the following command.
If your application has console access, you can use the following command.

```bash
rc-service app-name console
Expand All @@ -69,4 +69,4 @@ If you wish to execute commands you can do so using the following:

```bash
lxc exec container-name --project project.name -- rc-service app-name [command]
```
```

0 comments on commit f2145d5

Please sign in to comment.