mirror of https://github.com/doccano/doccano.git
pythondatasetsactive-learningtext-annotationdatasetnatural-language-processingdata-labelingmachine-learningannotation-tool
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Johann Frei
8d32cad252
|
3 years ago | |
---|---|---|
.. | ||
README.md | 3 years ago | |
offline_01_1_1-download_assets.sh | 3 years ago | |
offline_01_1_2-optional_use_https.sh | 3 years ago | |
offline_01_2-extract_Docker_images.sh | 3 years ago | |
offline_01_3-download_APT_packages.sh | 3 years ago | |
offline_02_1-install_APT_packages.sh | 3 years ago | |
offline_02_2-import_Docker_images.sh | 3 years ago | |
offline_03_1-runDoccano.sh | 3 years ago | |
offline_patcher.py | 3 years ago |
README.md
Doccano Offline Deployment
Use Case
These offline deployment scripts are suited for deploying Doccano on an air gapped Ubuntu 18.04/20.04 virtual machine (VM 2) with no internet connectivity.
The preparation requires another machine (VM 1) with internet access and docker
/docker-compose
preinstalled (with $USER in docker
group) and running the same Ubuntu distribution as VM 2.
The focus is primarily on the docker-compose
-based production deployment.
Setup Steps
Run the following steps on VM 1:
- Clone this repository
- Run the scripts
offline_01_*.sh
in ascending order
Skip OR modify and run the scriptoffline_01_1_2-optional_use_https
Now, move over to VM 2
- Copy the repository folder from VM 1 to VM 2
- Run the scripts
offline_02_*.sh
in ascending order - Make minor changes on
docker-compose.prod.yml
to change the admin credentials - Run
docker-compose -f docker-compose.prod.yml up
or use the scriptoffline_03_*.sh