Coder Social home page Coder Social logo

frontend's Introduction

HIP Frontend

Meta package for HIP web app and gateway API

This is the install for the HIP frontend

Includes

The install is based on make and git submodules. As the package will migrate to K8s, everything is build on the host

Prerequisite

Deploy, production

  • Clone this repo, git clone --recurse-submodules https://github.com/HIP-infrastructure/frontend.git
  • cd frontend
  • git checkout master
  • You can checkout the submodules to the desired branch, default is the latest version
  • Copy .env.template to .env and edit the variables according to your needs.

First time install

  • install all the dependencies by calling
  • ./hip-required_ubuntu-22.04.sh
  • You might want to logout and login again, in order to gain access to the docker command for your current user

GhostFS

  • a distributed file system tailored to the HIP
  • make install-ghostfs
  • You will need to provide a user/password for the server, that you will need to install on the backend)
  • pm2 cannot start ghostfs at this time, as Nextcloud data storage doesn't exist yet. A pm2 error for the service is ok at this time.

Deploy, dev

Change the NODE_ENV to development in the .env file

make dev-install

deploy/reload gateway make dev-install-gateway

Quick summary for make (after install)

install-ghostfs                Stop, update and install GhostFS only
status                         Show the status of the HIP
install-web                    Build & install the webapp and the gateway
start                          Start all services (-GhostFS)
stop                           Stop all services (-GhostFS)
maintenance                    Enable/disable maintenance mode (make maintenance-on/maintenance-off)
dc                             Run docker-compose (make dc c="ps")
dev-install                    Install dev stack for frontend & gateway, use update branch=dev to switch branch, you should have NODE_ENV=development
dev-install-gateway            Restart the dev gateway
help                           List available tasks on this project

frontend's People

Contributors

nicedexter avatar sebastientourbier avatar idmple avatar greut avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

jdaln

frontend's Issues

HIP subject upload mockups

As a clinician, I want to upload a folder with all the (anonymised) data for a subject.
I want to be able to add additional data later
I need also a subjectId in order to identify the source

UI Improvements

Nextcloud Login screen

  • Reset password is hidden

Session

  • Dropdown
    • Add running apps
    • Add "Create new session"
    • Label buttons
      Applications
    • Play/Stop
    • Show Password

App Catalog

  • Add a disclaimer
  • Change "open website" to something like "external documentation"

refactor: pull and use `bids_tools` docker image from the Gitlab CI container registry

This should involves the following tasks:

  • Remove the bids_tools submodule
  • Revise the Makefile: we should not build anymore the image but instead, we should log and pull the image directly from our container registry
  • Update .env.template with new variables:
    • BIDS_TOOLS_VERSION: docker image version tag
    • BIDS_TOOLS_IMAGE: path to the docker image (e.g. registry.hbp.link/hip/bids-tools)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.