You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-17Lines changed: 6 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,34 +30,23 @@ The Ago project is licensed under the [MIT License](https://github.com/php-ago/a
30
30
31
31
## Contribute
32
32
### With Container Engine
33
-
If you use a container engine like [🦦 Podman](https://podman.io/) or [🐳 Docker](https://app.docker.com/), here are the steps that you can make:
33
+
> [!NOTE]
34
+
> If you use [🐳 Docker](https://app.docker.com/) instead of [🦦 Podman](https://podman.io/), just replace `podman-compose` with `docker compose`, and `podman` with `docker` in code examples below.
34
35
35
36
#### Build an Image
36
-
To build an image, navigate to the root of project and run this command for Docker:
37
-
```bash
38
-
docker compose build app
39
-
```
40
-
For Podman, run this:
37
+
To build an image, navigate to the root of project and run this command:
41
38
```bash
42
39
podman-compose build app
43
40
```
44
41
45
42
#### Run the Container
46
-
To run the container, navigate to the root of and run this command for Docker:
47
-
```bash
48
-
docker compose run --rm app
49
-
```
50
-
For Podman, run this:
43
+
To run the container, navigate to the root of and run this command:
51
44
```bash
52
45
podman-compose run --rm app
53
46
```
54
47
55
48
#### Cleanup
56
-
After you are done working on a project, you can cleanup and run the command below to remove things like created networks for the current project. For Docker, run this:
57
-
```bash
58
-
docker compose down
59
-
```
60
-
For Podman, run this:
49
+
After you are done working on a project, you can cleanup and run the command below to remove things like created networks for the current project run this:
0 commit comments