https://github.com/cltk/escriptorium-deploy
Scripts to deploy the eScriptorium OCR system
https://github.com/cltk/escriptorium-deploy
Last synced: about 1 year ago
JSON representation
Scripts to deploy the eScriptorium OCR system
- Host: GitHub
- URL: https://github.com/cltk/escriptorium-deploy
- Owner: cltk
- License: mit
- Created: 2021-02-14T22:00:59.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-10-21T19:07:39.000Z (over 4 years ago)
- Last Synced: 2025-02-17T08:41:43.804Z (over 1 year ago)
- Language: Shell
- Size: 11.7 KB
- Stars: 2
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# escriptorium-deploy
Script(s) to deploy the [eScriptorium](https://gitlab.inria.fr/scripta/escriptorium) application.
## Requirements
Currently the script works on a fresh, stock Debian 10 system, whether running as the host OS, e.g. at a cloud provider, or under the excellent [Windows Subsystem for Linux v2 (WSL2)](https://docs.microsoft.com/en-us/windows/wsl/compare-versions#whats-new-in-wsl-2).
## Installation
Ensure you have `sudo` access to the system. At the terminal, install `git`:
```shell
$ sudo apt update
$ sudo apt install git
```
Then grab the deployment script and run it.
```shell
$ git clone https://github.com/cltk/escriptorium-deploy.git
$ cd escriptorium-deploy
$ bash deploy.bash
```
It will run for some time. At the end, you will be prompted to create a username and password for the administrative ("superuser") account on the system.
## Starting and stopping the application
Depending on where you installed the system, change to the subdirectory containing the application.
```shell
$ cd ~/escriptorium-deploy/escriptorium/app
```
Start the application:
```shell
$ cd python manage.py runserver 0.0.0.0:8000 --settings=escriptorium.local_settings
```
It it stopped via CTRL-C in the same terminal.
If running locally, the system should now be accessible at http://localhost:8000.