File tree 1 file changed +7
-1
lines changed
1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 12
12
## Run the image as a container
13
13
14
14
Assumptions:
15
+
15
16
- ` $PWD ` is code-generator source root folder
16
17
- To replace ` /host/path/to/data ` with a path to the input data (for example CIFAR10 and/or VOCdevkit etc), e.g. ` /mnt/data `
17
18
@@ -21,22 +22,27 @@ docker run --name=codegen-dev -it -v $PWD:/code -w /code -v /host/path/to/data:/
21
22
```
22
23
23
24
Inside the container we can install all other project dependencies:
25
+
24
26
``` bash
25
27
git config --global --add safe.directory /code
26
28
27
29
pnpm i --frozen-lockfile --color
28
30
pnpm build
31
+
32
+ bash scripts/run_code_style.sh install
29
33
```
30
34
31
35
- Local app deployment
36
+
32
37
```
33
38
pnpm dev
34
39
```
35
40
36
41
- Run ci tests locally
42
+
37
43
```
38
44
pnpm test:ci
39
45
40
46
sh ./scripts/run_tests.sh unzip
41
47
sh ./scripts/run_tests.sh simple vision-classification
42
- ```
48
+ ```
You can’t perform that action at this time.
0 commit comments