a little more docs
This commit is contained in:
17
README.md
17
README.md
@@ -1,11 +1,10 @@
|
|||||||
Simle Image Labeler
|
# Simple Image Labeler
|
||||||
|
|
||||||
For trainig machine learning algorithms.
|
For trainig machine learning algorithms.
|
||||||
|
|
||||||
Setup:
|
Setup:
|
||||||
|
|
||||||
- Copy `example.env` as `.env`
|
- Copy `example.env` as `.env`
|
||||||
- Start the docker instance
|
|
||||||
- Write a data/config.json:
|
- Write a data/config.json:
|
||||||
|
|
||||||
```
|
```
|
||||||
@@ -50,3 +49,17 @@ Setup:
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
- Start the docker instance
|
||||||
|
- Open the URL in http://localhost:$EXPOSE
|
||||||
|
|
||||||
|
## With nginx:
|
||||||
|
|
||||||
|
```
|
||||||
|
location /labeler/ {
|
||||||
|
proxy_pass http://localhost:8088/;
|
||||||
|
proxy_set_header Host $host;
|
||||||
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
proxy_set_header X-Scheme $scheme;
|
||||||
|
proxy_set_header X-Script-Name /labeler;
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user