Skip to content

Latest commit

 

History

History
82 lines (71 loc) · 2.14 KB

install-from-github.md

File metadata and controls

82 lines (71 loc) · 2.14 KB

Install from git

  1. Get installer

    • curl -o ~/install_ipf.sh https://raw.githubusercontent.com/access-ci-org/ipf/refs/heads/master/go.sh
  2. Run installer

    • bash ~/install_ipf.sh
    • Note: IPF will be installed into the current directory. All commands in this guide assume the current directory is ~/.
  3. Do first time setup

    • bash ~/ipf/bin/prep.sh

Setup the extmodules workflow

Configure the extmodules workflow

  1. Set variables for your site (for upgrade or re-install, skip this step)
    • cp ~/ipf/etc/configure_extmodules.conf.sample ~/ipf/etc/configure_extmodules.conf
      vim ~/ipf/etc/configure_extmodules.conf
      cp ~/ipf/etc/amqp.conf.sample ~/ipf/etc/amqp.conf
      vim ~/ipf/etc/amqp.conf
    • Note: for initial testing, leave the PUBLISH variable empty.
  2. Run the configure script
    • bash ~/ipf/bin/configure_extmodules

Test the extmodules workflow

  1. Start the workflow
    • bash ~/ipf/bin/wfm start
  2. Check the output
    • bash ~/ipf/bin/wfm list
    • Check the OUTPUT file that was listed above
  3. Stop the workflow
    • bash ~/ipf/bin/wfm stop

Test the publishing setup

  1. Enable publishing
    • sed -i -e '/PUBLISH=/cPUBLISH=1' ~/ipf/etc/configure_extmodules*.conf
  2. Re-run the configure script
    • bash ~/ipf/bin/configure_extmodules
  3. Start the workflow
    • bash ~/ipf/bin/wfm start
  4. Check the published data

Setup recurring runs for production

  1. Create a scheduled task to restart the workflows after a system restart.
    • Example crontab:
         @restart $HOME/ipf/bin/wfm start

Errata

Notes

  • This install method currently supports only the extmodules workflow. Other workflows will be added in the future.

See also