GithubHelp home page GithubHelp logo

jdaln / frontend-hip-edit Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hip-infrastructure/frontend

0.0 0.0 0.0 1.18 MB

Meta package for the HIP Frontend: Gateway and web application

License: Apache License 2.0

Shell 42.46% JavaScript 17.38% Makefile 40.17%

frontend-hip-edit'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-hip-edit's People

Contributors

nicedexter avatar sebastientourbier avatar idmple avatar

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.