From PyPI installation

When installing the project from PyPI, only the app is available. This will need to be integrated in a Django project in order to be used. These are the minimal instruction for creating a project and start running the server

  • (Optional) create and use a virtual environment

    • python -m venv venv

    • venv\Scripts\activate (or the equivalent for your OS)

  • pip install django-ocr_translate

  • django-admin startproject mysite

  • Configure the server by replacing the automatically created files (strongly recommended):

    • [settings.py](mysite/settings.py) with the one available on the repo.

    • [urls.py](mysite/urls.py) with the one available on the repo.

  • or by manually editing the files:

    • settings.py: Add the ocr_translated app to the INSTALLED_APPS

    • urls.py: Include the 'ocr_translate.urls' into your project urls.

  • From here follow the same instructions as with Github