Build status:
Docker image:
arp-uploader tool:
The Assisted Review Portal (ARP) is a web application that stores screenshots and associated incidents in a structured manner. It has been developed to conduct linguistic reviews using screenshots of the product's user interface. It enables users to see the translated strings in context to provide accurate translations. ARP also has an image comparison feature to identify any changes that have occurred between different versions of the product, which can reduce the manual effort in regression testing.
You can access the API directly, or use the arp-uploader to upload the screenshots.
You can access and play around with a demo portal at: https://arp-demo.azurewebsites.net
Use arpuser as a login with User@123 password.
- Install Docker - https://docs.docker.com/install/
- All the configuration settings are defined in
ARP/appsettings.json
, and can be overwritten by the environmental variables (see below) - Authentication – you can setup your local admin and user accounts, and/or LDAP for authentication
Get the docker-compose.yml file to local folder, then from the same folder run:
docker-compose build
- This will download and build the containersdocker-compose up
– This will start the containershttp://localhost:8000
– The portal can be accessed at this address, with the user accounts configured inARP/appsettings.json
or LDAP (if available)- Note: that in this configuration the database and images storage are inside the docker images and will get reset when you rebuild
- Create an MSSQL database dedicated for ARP, save the connection string
- Note: APR will initialize the database and apply migrations if needed
- Create a volume where you will store the image files, and have it accessible from the Docker host, e.g.
/var/imagestore
- Create the settings file
env.list
that will overwrite entries fromARP/appsettings.json
, here are the values you can update:ConnectionStrings:GarbDatabase=Data Source=my-db-server1;Initial Catalog=ARP;User ID=arb;Password=***DBPassword***
- connection string to the databaseStorageHelperSettings:StorageRootFolder=/arpstore/
- folder in the container image, where screenshots will be stored. Note: this should be mapped to some persistent/local storage using-v
option in thedocker run
commandAuthentication:LdapServer=ldap.mydomain.org
- address of LDAP server you will use to authenticate usersAuthentication:LdapDomain=mydomain.org
- domain used by LDAPAuthentication:LocalAdminName=admin
- local admin account nameAuthentication:LocalAdminPwd=***MyAdminPassword***
- local admin'd passwordAuthentication:LocalReadOnlyName=user
- local read-only account nameAuthentication:LocalReadOnlyPwd=***MyReadOnlyPassword***
- local read-only user's password
- Start the image
docker run -d -p 5000:80 -v /var/imagestore:/arpstore --env-file env.list --name myportal apoblock/arp
- The Web App will be available on
localhost:5000
docker run
parameters--name
- name of your local image-v
- mapping of your local filesystem to the container image filesystem-p
- mapping of your local port to container image port-d
- detach - container will be run in the background--env-file
- file with defined environment variables
Prerequisites - install following tools:
- Docker
Clone the ARP repository git clone https://github.com/VeritasOS/assisted-review-portal.git
, then from the root folder:
- Build the ARP WebAPI docker image
docker build -t arpwebapp .
- Build will be created in the docker images (multi-stage build)
- The final image will only contain files required by the runtime
- Run the ARP WebAPI docker image (see above for explanation)
docker run -d -p 5000:80 -v /var/imagestore:/arpstore --env-file env.list --name myportal arpwebapp
Prerequisites - install following tools:
- NodeJS
- Angular CLI 6+
- .NET Core 2.2+
- Visual Studio 2017+
Build:
- Clone the ARP repository
git clone https://github.com/VeritasOS/assisted-review-portal.git
- Open the
ARP.sln
in Visual Studio - Build Solution
- Start Debugging