That demo deployment was created with https://github.com/Alfresco/alfresco-docker-installer . Please read the documentation over there!
Urls: http://localhost:80/share http://localhost:80/alfresco http://localhost:80 http://localhost:80/api-explorer
alfresco-ocr is setup using Projen. So if you want to make some change on the project setup like the package.json you need to change the .projenrc.js file!
To apply changes from the .projenrc.js do npx projen . It is recommended to create an alias for thept like pj.
Use the starting script!
./start.sh
./start.sh -d
./start.sh -d && sudo rm -rf data logs
Originated from https://github.com/keensoft/alfresco-simple-ocr. Helpful as well was:
Example Solr queries:
-
TYPE:"m:type"
-
TYPE:"m:type" AND m:othertype:"bob"
-
TYPE:"m:type"
-
TYPE:"m:type" AND m:othertype:331.36
-
TYPE:"m:type" AND m:othertype:[0 TO 400]
You can run the Docker Compose Deploy in an EC2 instance in AWS. I made that process very easy. I use AWS CDK to deploy an Ec2 Instance through CodePipeline. For more details look in the cdk folder.
To run the Ec2 Instance with you AWS Credentials you need to adjust the AWS profile in .projenrc.js .
To deploy the Ec2 Alfresco Stack on Dev do:
yarn run cdkdeploy
After the command a Cloudformation Stack will be created with an EC2 machine and Alfresco with OCR installed.
To deploy to other stages like Prod do
STAGE=prod yarn run cdkdeploy
To create the CDK Pipeline do:
yarn run cdkpipelinedeploy