Skip to content
This repository was archived by the owner on Jun 18, 2024. It is now read-only.

binotaliu/od-ocr

Repository files navigation

📑 Kaisa OCR


BUILT WITH LOVE

PHP 8.1 Laravel 9 Alpine.js

Kaisa OCR is a website for scan, collect, archive public documentations (公文).

Installation

Install dependencies:

$ composer install
$ npm ci

Copy and edit .env:

$ php -r "file_exists('.env') || copy('.env.example', '.env');"
$ vim .env

Install application:

$ php artisan key:generate
$ php artisan migrate # or migrate:fresh to re-install

Compile frontend assets:

$ npm run build

If you want to run the vite server with https enabled, please set VITE_HTTPS_CERT and VITE_HTTPS_KEY in .env with your https certification, and configure a proper VITE_URL. For example:

VITE_URL=https://kaisa-ocr.test:5934

VITE_HTTPS_KEY=/Users/user/.config/valet/Certificates/kaisa-ocr.test.key
VITE_HTTPS_CERT=/Users/user/.config/valet/Certificates/kaisa-ocr.test.crt

Usage

Create user

To create a new user:

$ php artisan make:user

License

AGPL-3.0-or-later
See LICENSE for details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages