|
3 | 3 | Following list is ordered by from easy to hard. If you are not familiar with Python development, please consider easy setup.
|
4 | 4 |
|
5 | 5 | 1. [One click deployment to Cloud Service.](https://github.com/chakki-works/doccano#deployment)
|
6 |
| - * Only you have to do is create an account. Especially [Heroku](https://www.heroku.com/home) does not require your credit card (if free plan). |
7 |
| - * [](https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2Fchakki-works%2Fdoccano%2Fmaster%2Fazuredeploy.json) |
8 |
| - * [](https://heroku.com/deploy) |
9 |
| - * [](https://us-east-1.console.aws.amazon.com/cloudformation/home?region=us-east-1#/stacks/create/review?templateURL=https://s3-external-1.amazonaws.com/cf-templates-10vry9l3mp71r-us-east-1/20190732wl-new.templatexloywxxyimi&stackName=doccano) |
10 |
| - * > Notice: (1) EC2 KeyPair cannot be created automatically, so make sure you have an existing EC2 KeyPair in one region. Or [create one yourself](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html#having-ec2-create-your-key-pair). (2) If you want to access doccano via HTTPS in AWS, here is an [instruction](https://github.com/chakki-works/doccano/wiki/HTTPS-setting-for-doccano-in-AWS). |
| 6 | + * Only you have to do is create an account. Especially [Heroku](https://www.heroku.com/home) does not require your credit card (if free plan). |
| 7 | + * [](https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2Fchakki-works%2Fdoccano%2Fmaster%2Fazuredeploy.json) |
| 8 | + * [](https://heroku.com/deploy) |
| 9 | + * [](https://us-east-1.console.aws.amazon.com/cloudformation/home?region=us-east-1#/stacks/create/review?templateURL=https://s3-external-1.amazonaws.com/cf-templates-10vry9l3mp71r-us-east-1/20190732wl-new.templatexloywxxyimi&stackName=doccano) |
| 10 | + * > Notice: (1) EC2 KeyPair cannot be created automatically, so make sure you have an existing EC2 KeyPair in one region. Or [create one yourself](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html#having-ec2-create-your-key-pair). (2) If you want to access doccano via HTTPS in AWS, here is an [instruction](https://github.com/chakki-works/doccano/wiki/HTTPS-setting-for-doccano-in-AWS). |
11 | 11 | 2. [Use Docker](https://docs.docker.com/install/)
|
12 |
| - * Docker doesn't bother you by the OS, Python version, etc problems. Because an environment for application is packed as a container. |
13 |
| - * Get doccano's image: `docker pull chakkiworks/doccano` |
14 |
| - * Create & Run doccano container: `docker run -d --name doccano -p 8000:80 chakkiworks/doccano` |
15 |
| - * Create a user: `docker exec doccano tools/create-admin.sh "admin" "[email protected]" "password"` |
16 |
| - * Stop doccano container: `docker stop doccano` |
17 |
| - * Re-Launch doccano container: `docker start doccano` |
| 12 | + * Docker doesn't bother you by the OS, Python version, etc problems. Because an environment for application is packed as a container. |
| 13 | + * Get doccano's image: `docker pull chakkiworks/doccano` |
| 14 | + * Create & Run doccano container: `docker run -d --name doccano -p 8000:80 chakkiworks/doccano` |
| 15 | + * Create a user: `docker exec doccano tools/create-admin.sh "admin" "[email protected]" "password"` |
| 16 | + * Stop doccano container: `docker stop doccano` |
| 17 | + * Re-Launch doccano container: `docker start doccano` |
18 | 18 | 3. Install from source
|
19 |
| - * **I want to remember you that this is the hardest setup way. You have to install Python/Node.js and type many commands.** |
20 |
| - * [Install Python](https://www.python.org/downloads/) |
21 |
| - * [Install Node.js](https://nodejs.org/en/download/) |
22 |
| - * Get the source code of doccano: `git clone https://github.com/chakki-works/doccano.git` |
23 |
| - * Move to doccano directory: `cd doccano` |
24 |
| - * Create environment for doccano: `virtualenv venv` |
25 |
| - * Activate environment: `source venv/bin/activate` |
26 |
| - * Install required packages: `pip install -r requirements.txt` |
27 |
| - * Move server directory: `cd app/server` |
28 |
| - * Build frontend library: `npm install` |
29 |
| - * Build frontend source code: `npm run build` |
30 |
| - * Back to server directory: `cd ../` |
31 |
| - * Initialize doccano: `python manage.py migrate` |
32 |
| - * Create user: `python manage.py createsuperuser` |
33 |
| - * Run doccano: `python manage.py runserver` |
34 |
| - * Stop doccano: Ctrl+C |
35 |
| - * Re-Launch doccano: `python manage.py runserver` (Confirm you are at `app/server` directory and environment is active). |
| 19 | + * **I want to remember you that this is the hardest setup way. You have to install Python/Node.js and type many commands.** |
| 20 | + * [Install Python](https://www.python.org/downloads/) |
| 21 | + * [Install Node.js](https://nodejs.org/en/download/) |
| 22 | + * Get the source code of doccano: `git clone https://github.com/chakki-works/doccano.git` |
| 23 | + * Move to doccano directory: `cd doccano` |
| 24 | + * Create environment for doccano: `virtualenv venv` |
| 25 | + * Activate environment: `source venv/bin/activate` |
| 26 | + * Install required packages: `pip install -r requirements.txt` |
| 27 | + * Move server directory: `cd app/server` |
| 28 | + * Build frontend library: `npm install` |
| 29 | + * Build frontend source code: `npm run build` |
| 30 | + * Back to server directory: `cd ../` |
| 31 | + * Initialize doccano: `python manage.py migrate` |
| 32 | + * Create user: `python manage.py createsuperuser` |
| 33 | + * Run doccano: `python manage.py runserver` |
| 34 | + * Stop doccano: Ctrl+C |
| 35 | + * Re-Launch doccano: `python manage.py runserver` (Confirm you are at `app/server` directory and environment is active). |
36 | 36 |
|
37 | 37 | ## I can't upload my data.
|
38 | 38 |
|
|
0 commit comments