Browse Source

Move heroku deployment to Docker

pull/80/head
Clemens Wolff 5 years ago
parent
commit
044fb17228
4 changed files with 16 additions and 25 deletions
  1. 24
      Pipfile
  2. 1
      Procfile
  3. 10
      README.md
  4. 6
      heroku.yml

24
Pipfile

@ -1,24 +0,0 @@
[[source]]
url = "https://pypi.python.org/simple"
verify_ssl = true
name = "pypi"
[requires]
python_version = "3.6"
[packages]
"psycopg2-binary" = "*"
django-heroku = "*"
gunicorn = "*"
django-widget-tweaks = "*"
djangorestframework = "*"
django-filter = "*"
dj-database-url = "*"
whitenoise = "*"
[dev-packages]

1
Procfile

@ -1 +0,0 @@
web: gunicorn --pythonpath app app.wsgi

10
README.md

@ -35,6 +35,16 @@ Doccano can be deployed to Azure ([Web App for Containers](https://azure.microso
[![Deploy to Azure](https://azuredeploy.net/deploybutton.svg)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2Fchakki-works%2Fdoccano%2Fmaster%2Fazuredeploy.json)
### Heroku
Doccano can be deployed to [Heroku](https://www.heroku.com/) by following these steps:
```bash
heroku create
heroku stack:set container
git push heroku master
```
## Features
* Collaborative annotation

6
heroku.yml

@ -0,0 +1,6 @@
build:
docker:
web: Dockerfile
run:
web: /doccano/tools/run.sh
Loading…
Cancel
Save