Skip to content

Commit cd1a6af

Browse files
author
Luan Pham
committed
Create DEVELOP.md
1 parent f471f33 commit cd1a6af

File tree

1 file changed

+53
-0
lines changed

1 file changed

+53
-0
lines changed

DEVELOP.md

+53
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
Project Board: https://github.com/users/phamquiluan/projects/3/views/1
2+
3+
# Prepare data
4+
5+
1. Download data from here and put to `data` dir: https://drive.google.com/drive/folders/1J_z-laBlG14Fps81FVrUJUjesdND_JTx?usp=sharing
6+
2. The image dir path `$PWD/data/images`
7+
8+
9+
10+
# Dev guide
11+
12+
1. cd into your dir
13+
14+
```bash
15+
# for example
16+
cd text_detection
17+
```
18+
19+
2. create venv
20+
21+
```bash
22+
python3.9 -m venv env
23+
. env/bin/activate
24+
```
25+
26+
3. install requirements
27+
28+
```bash
29+
pip install -r requirements.txt
30+
```
31+
32+
4. dev
33+
34+
on your Python file.
35+
36+
# Docker guide
37+
38+
```
39+
export DOCKER_BUILDKIT=1
40+
export BUILDKIT_PROGRESS=plain
41+
```
42+
43+
1. build single service
44+
45+
```
46+
docker build -t table_detection -f table_detection/Dockerfile table_detection/
47+
```
48+
49+
2. compose up
50+
51+
```
52+
docker compose up --build
53+
```

0 commit comments

Comments
 (0)