JSword
  1. JSword
  2. JS-31

Add a local filesystem installer

    Details

      Description

      We can install via ftp and http from a website. While a user can run a http server, there is no other way to install from disk.

      Someone should be able to install from a CD or fixed disk.

      This is probably pretty easy to do.

        Activity

        Hide
        Chris Burrell added a comment -

        FYI, I've implemented something along those lines for STEP. Shout if you want me to point you to the code.

        Show
        Chris Burrell added a comment - FYI, I've implemented something along those lines for STEP. Shout if you want me to point you to the code.
        Hide
        DM Smith added a comment -

        Yes please show me the code. I have an open branch for updating the installer code.

        Show
        DM Smith added a comment - Yes please show me the code. I have an open branch for updating the installer code.
        Show
        Chris Burrell added a comment - https://github.com/tyndale/step/blob/master/step-core/src/main/java/com/tyndalehouse/step/core/data/DirectoryInstaller.java
        Hide
        Chris Burrell added a comment -

        As you said, it's pretty easy. STEP will ship a number of modules so that installation can happen offline - so that's exactly what you mention above.

        And here's the unit test: https://github.com/tyndale/step/blob/master/step-core/src/test/java/com/tyndalehouse/step/core/data/DirectoryInstallerTest.java

        which relies on:

        https://github.com/tyndale/step/tree/master/step-core/src/test/resources/com/tyndalehouse/step/core/data (2 files in there)

        Although, you will most likely need to redo the unit test, as i'm using some of the STEP APIs that I've implemented.

        Chris

        Show
        Chris Burrell added a comment - As you said, it's pretty easy. STEP will ship a number of modules so that installation can happen offline - so that's exactly what you mention above. And here's the unit test: https://github.com/tyndale/step/blob/master/step-core/src/test/java/com/tyndalehouse/step/core/data/DirectoryInstallerTest.java which relies on: https://github.com/tyndale/step/tree/master/step-core/src/test/resources/com/tyndalehouse/step/core/data (2 files in there) Although, you will most likely need to redo the unit test, as i'm using some of the STEP APIs that I've implemented. Chris

          People

          • Assignee:
            DM Smith
            Reporter:
            DM Smith
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated: