This is a docker image meant for use in testing l4-transpiled docassemble interviews.
- Docker
- Clone this directory
- Run the following command:
docker build -t l4-da .
This installs a local image of l4-da within your docker.
docker run -d -p 80:80 -p 443:443 --stop-timeout 600 l4-da
- When it succeeds, you should see a hash output from STDOUT
- Wait 2 minutes for it to initialize, then open your web-browser of choice & connect to localhost
- default login details are “admin@admin.com” & “password”
The docker image consists of the original docassemble environment written by jhpyle, with an sCASP reasoner as well as some docassemble packages installed.
To test the docassemble packages:
- docassemble-l4
- Go to http://localhost/interview?i=docassemble.l4:data/questions/intgen.yml
- Select ‘r34.pl’ for the first page, and ‘r34.yml’ for the second.
- Click to generate the new interview. It should open on a new page with no issues.
- docassemble-datatypes
- Go to http://localhost/interview?i=docassemble.datatypes:datatypes_test.yml
- The demonstration interview should work without errors
- docassemble-scasp
- Go to http://localhost/interview?i=docassemble.scasp:DAScasp_test.yml
- You should see an answer that Socrates is mortal, together with reasons