Skip to content

Commit

Permalink
Prepare for Heroku
Browse files Browse the repository at this point in the history
  • Loading branch information
otiai10 committed Dec 4, 2016
1 parent 3705d0f commit 9430e48
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Aptfile
@@ -0,0 +1,4 @@
tesseract-ocr
tesseract-ocr-eng
libtesseract-dev
libleptonica-dev
1 change: 1 addition & 0 deletions Procfile
@@ -0,0 +1 @@
web: ocrserver
23 changes: 23 additions & 0 deletions app.json
@@ -0,0 +1,23 @@
{
"name": "OCR Server on Heroku",
"description": "Simple OCR Server by Golang on Heroku",
"keywords": [],
"image": "heroku/go:1.6",
"mount_dir": "src/github.com/otiai10/ocrserver",
"website": "http://github.com/otiai10/ocrserver",
"repository": "http://github.com/otiai10/ocrserver",
"buildpacks": [
{
"url": "https://github.com/heroku/heroku-buildpack-apt.git"
},
{
"url": "heroku/go"
}
],
"env": {
"TESSDATA_PREFIX": {
"description": "parent directry of `tessdata`",
"value": "/app/.apt/usr/share/tesseract-ocr"
}
}
}

0 comments on commit 9430e48

Please sign in to comment.