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
The boilerplate is prepared to run tests using Jest. We usually group the tests in folders called `__tests__` (following Jest convention) for each module of the application. To run the tests use the following command:
66
+
The boilerplate is prepared to run tests using Jest. We usually group the tests in folders called `__tests__` (following Jest convention) for each module of the application. To run the tests use the following commands:
48
67
68
+
### With Docker
49
69
```sh
70
+
$ docker compose up
71
+
72
+
$ yarn test
73
+
```
74
+
75
+
### Locally
76
+
```sh
77
+
$ yarn dev
78
+
50
79
$ yarn test
51
80
```
52
81
@@ -81,6 +110,17 @@ This boilerplate follows ideas from multiple good software development practices
81
110
82
111
To run your app in production mode, you'll need to follow these steps:
83
112
113
+
### With Docker
114
+
115
+
1. Define any environment variable important for production
116
+
2. Go to `docker-compose.production.yaml` file, and add necessary configurations
117
+
3. Run the following command:
118
+
```sh
119
+
$ docker-compose -f docker-compose.yaml -f docker-compose.production.yaml up
120
+
```
121
+
122
+
### Locally
123
+
84
124
1. Build the application with `yarn build`
85
125
2. Define any environment variable important for production
0 commit comments