diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 18 |
1 files changed, 1 insertions, 17 deletions
| @@ -21,22 +21,7 @@ using Python and vanilla JavaScript. | |||
| 21 | - **export** - download as `.sent` file for local sent, or export `.pdf` for portability | 21 | - **export** - download as `.sent` file for local sent, or export `.pdf` for portability |
| 22 | ## usage | 22 | ## usage |
| 23 | 23 | ||
| 24 | ### docker compose (recommended) | 24 | ### local python run |
| 25 | |||
| 26 | ```sh | ||
| 27 | docker compose up -d | ||
| 28 | ``` | ||
| 29 | |||
| 30 | Open [http://localhost:3000](http://localhost:3000). | ||
| 31 | |||
| 32 | ### docker build | ||
| 33 | |||
| 34 | ```sh | ||
| 35 | docker build -t sent-web . | ||
| 36 | docker run -d -p 3000:3000 --init --name sent-web sent-web | ||
| 37 | ``` | ||
| 38 | |||
| 39 | ### local python run (without docker) | ||
| 40 | 25 | ||
| 41 | Requirements: | 26 | Requirements: |
| 42 | 27 | ||
| @@ -90,7 +75,6 @@ with multiple lines | |||
| 90 | - **Gunicorn** - production WSGI server | 75 | - **Gunicorn** - production WSGI server |
| 91 | - **fontconfig** - `fc-list` for font enumeration | 76 | - **fontconfig** - `fc-list` for font enumeration |
| 92 | - **python-magic + libmagic** - content-based upload type checks | 77 | - **python-magic + libmagic** - content-based upload type checks |
| 93 | - **Docker** - containerized with fonts pre-installed | ||
| 94 | 78 | ||
| 95 | ## license | 79 | ## license |
| 96 | 80 | ||
