File tree Expand file tree Collapse file tree 2 files changed +18
-9
lines changed Expand file tree Collapse file tree 2 files changed +18
-9
lines changed Original file line number Diff line number Diff line change 1
1
# Contributing
2
2
3
3
Everyone is welcome to contribute to the application or make suggestions, but you may want to check first with the
4
- project contact person Leonor Boga @LeonorLunatech .
4
+ project contact person Leonor Boga @leo-bogastry .
5
5
6
6
# Setup development environment
7
7
8
8
In order to be able to run the lunatech-chef locally you need to have the following installed in your local machine:
9
9
10
- - [ JDK 11 ] ( https://sdkman.io/install )
10
+ - [ JDK 17 ] ( https://sdkman.io/install )
11
11
- [ Gradle] ( https://gradle.org/install )
12
12
- [ Npm] ( https://docs.npmjs.com/downloading-and-installing-node-js-and-npm )
13
13
- [ Docker] ( https://www.docker.com/products/docker-desktop/ )
@@ -28,13 +28,13 @@ already.
28
28
Build to the docker image:
29
29
30
30
``` commandline
31
- docker build -t lunatech-chef-api dockerdev/postgres/.
31
+ postman build -t lunatech-chef-api dockerdev/postgres/.
32
32
```
33
33
34
34
Run the docker image:
35
35
36
36
``` commandline
37
- docker run -it -m 1024m --env POSTGRES_HOST_AUTH_METHOD=trust --name postgres -p 5432:5432 lunatech-chef-api -c log_statement=all
37
+ postman run -it -m 1024m --env POSTGRES_HOST_AUTH_METHOD=trust --name postgres -p 5432:5432 lunatech-chef-api -c log_statement=all
38
38
```
39
39
40
40
## Setup environment variables
Original file line number Diff line number Diff line change 1
- To create docker image:
2
- docker build -t lunatech-chef-api .
1
+ To create the docker image:
3
2
4
- To run docker image:
5
- docker run -it -m 1024m --env POSTGRES_HOST_AUTH_METHOD=trust --name chef-api -p 5432:5432 lunatech-chef-api -c log_statement=all
3
+ ```
4
+ podman build -t lunatech-chef-api -f Dockerfile .
5
+ ```
6
+
7
+ To run docker the image:
8
+
9
+ ```
10
+ podman run -it -m 1024m --env POSTGRES_HOST_AUTH_METHOD=trust --name chef-api -p 5432:5432 lunatech-chef-api -c log_statement=all
11
+ ```
6
12
7
13
To run docker image and clean it on shutdown:
8
- docker run -it -rm -m 1024m --env POSTGRES_HOST_AUTH_METHOD=trust --name postgres -p 5432:5432 lunatech-chef-api -c log_statement=all
14
+
15
+ ```
16
+ podman run -it -rm -m 1024m --env POSTGRES_HOST_AUTH_METHOD=trust --name postgres -p 5432:5432 lunatech-chef-api -c log_statement=all
17
+ ```
You can’t perform that action at this time.
0 commit comments