Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

swh:1:snp:fc5be6ea36d914a465ae83272994afb6f8ba2d7d
  • Code
  • Branches (0)
  • Releases (4)
    • Branches
    • Releases
      • 4
      • 4
      • 3
      • 2
      • 1
    • c501fcf
    • /
    • rubenarslan-formr.org-0797b20
    • /
    • INSTALLATION.md
    Raw File Download

    To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
    Select below a type of object currently browsed in order to display its associated SWHID and permalink.

    • content
    • directory
    • snapshot
    • release
    content badge Iframe embedding
    swh:1:cnt:56d25b6e82fccfd1b4dbfda8a1adab3f6ab55f9d
    directory badge Iframe embedding
    swh:1:dir:a4f1bf3ec890c395b3ff7526e731387c533a85bd
    snapshot badge
    swh:1:snp:fc5be6ea36d914a465ae83272994afb6f8ba2d7d
    release badge
    swh:1:rel:bce81870630aa4105bba65651a8ea173973c44c0

    This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
    Select below a type of object currently browsed in order to generate citations for them.

    • content
    • directory
    • snapshot
    • release
    Generate software citation in BibTex format (requires biblatex-software package)
    Generating citation ...
    Generate software citation in BibTex format (requires biblatex-software package)
    Generating citation ...
    Generate software citation in BibTex format (requires biblatex-software package)
    Generating citation ...
    Generate software citation in BibTex format (requires biblatex-software package)
    Generating citation ...
    INSTALLATION.md
    # Setup instructions for formr
    
    Until recently, we admitted new users to an instance of formr hosted at the University of Goettingen. This instance is now at capacity. We now recommend self-hosting, ideally using a professional web hoster.
    
    formr can run on Linux, Mac OS and Windows. In its dockerized form, differences between platform should not cause problems. However, OpenCPU in production requires a Linux host (for AppArmor to work).
    
    ## Contribute to development, test locally
    To install formr locally, either to test it out, or to contribute to development, we recommend using a dockerized version, which helpfully includes a docker compose environment for the database and OpenCPU too.
    You can find detailed instructions here:
    https://github.com/rubenarslan/formr_dev_docker
    
    ## Production
    If you want to run formr in production, you have to be aware of multiple best practices.
    
    Pain points include:
    - formr, via OpenCPU, allows study creators to run arbitrary R code, so
        - OpenCPU needs to be secured via AppArmor
        - Access to running and viewing code run on OpenCPU needs to be restricted
    - OpenCPU freezes R packages at each release, installing additional packages needs to be done with care, so as not to lead to version conflicts
    - Research data should be encrypted at rest
    - Subdomains per study are part of formr's security concept (separation of concerns, avoid cross-site scripting)
    - Only encrypted connections to formr and OpenCPU should be possible
    - Daemons for email sending and study progress need to be running continuously
    
    The developers of formr (Ruben and Cyril) are available for consulting to make a standardized, dockerized production version of formr available. As the number of users has grown, we can no longer offer free support to everybody who installs formr in a non-standard way.
    
    ### The formr R package
    
    These are the instructions to run a local or online copy of the formr.org distribution. It is much easier to install the [R package](https://github.com/rubenarslan/formr) if that's what you're looking for.
    

    back to top

    Software Heritage — Copyright (C) 2015–2025, The Software Heritage developers. License: GNU AGPLv3+.
    The source code of Software Heritage itself is available on our development forge.
    The source code files archived by Software Heritage are available under their own copyright and licenses.
    Terms of use: Archive access, API— Content policy— Contact— JavaScript license information— Web API