Skip to content

test environment for l4-transpiled docassemble interviews

Notifications You must be signed in to change notification settings

smucclaw/l4-docassemble

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 

Repository files navigation

l4-docassemble-readme

This is a docker image meant for use in testing l4-transpiled docassemble interviews.

Requirements

  • Docker

Build instructions

  1. Clone this directory
  2. Run the following command:
    docker build -t l4-da .
        

    This installs a local image of l4-da within your docker.

Running the docker instance

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”

Testing

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
    1. Go to http://localhost/interview?i=docassemble.l4:data/questions/intgen.yml
    2. Select ‘r34.pl’ for the first page, and ‘r34.yml’ for the second.
    3. Click to generate the new interview. It should open on a new page with no issues.
  • docassemble-datatypes
    1. Go to http://localhost/interview?i=docassemble.datatypes:datatypes_test.yml
    2. The demonstration interview should work without errors
  • docassemble-scasp
    1. Go to http://localhost/interview?i=docassemble.scasp:DAScasp_test.yml
    2. You should see an answer that Socrates is mortal, together with reasons

About

test environment for l4-transpiled docassemble interviews

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published