Skip to content

Commit

Permalink
Updates for relative URLs (HumanSignal#752)
Browse files Browse the repository at this point in the history
Added a couple notes in the start doc to refer to the docker example, updated text for the messages too.
  • Loading branch information
smoreface committed Apr 5, 2021
1 parent bf096fe commit 71278b0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion deploy/dockerfiles/subpath.example.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# this file distributed as an example of serving LS under proxy with subpath http:https://localhost/foo/ without any warranties. If you need to adjust it to your deployment scenario, manually modify subdomain.example.simple.conf nginx config, Label Studio env vars and postgres DB settings
# this file is distributed as an example of serving Label Studio under proxy with subpath http:https://localhost/foo/ without any warranties. If you need to adjust it to your deployment scenario, manually modify the subdomain.example.simple.conf nginx config, Label Studio env vars and postgres DB settings
version: '3.3'

services:
Expand Down
4 changes: 4 additions & 0 deletions docs/source/guide/start.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,10 @@ nginx:
...
```

## Run Label Studio on Docker with a host and subdomain

To run Label Studio on Docker with a host and subdomain, you can refer to the example `deploy/dockerfiles/subpath.example.yml` Docker YAML file. To customize it for your environment, manually modify the `nginx/subdomain.example.simple.conf` NGINX configuration file, the relevant Label Studio environment variables, and the PostgreSQL database settings for your environment.

## Run Label Studio with HTTPS
To run Label Studio with HTTPS and access the web server using HTTPS in the browser, specify a certificate and private key when starting Label Studio.

Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
print('~========================================================~')
print('| Your python version is %i.%i and Label Studio has a |' % (sys.version_info[0], sys.version_info[1]))
print('| lot of installation problems with this Python version. |')
print('| Please, switch to Python 3.6 - 3.8 to avoid problems |')
print('| with installation. |')
print('| Please use Python 3.6 - 3.8 to avoid problems with |')
print('| your installation. |')
print('~========================================================~')
print()

Expand Down

0 comments on commit 71278b0

Please sign in to comment.