Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/ferlab-ste-justine/clin-ui-dev-proxy

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/ferlab-ste-justine/clin-ui-dev-proxy

  • v0.0.0-20220608144432-ab40ef8dbd17
  • Source
  • Go
  • Socket score

Version published
Created
Source

Deprecation

This development tool is deprecated and will no longer be maintained.

clin-ui-dev-proxy

Description

Enable to run clin-frontend and clin-ui on the same port without configuring a proxy.

This solve authentification and iframe communication

Requirements

You need either Go (to install) or Docker

Update clin-ui .env.development and add PUBLIC_URL="/clinui-static"

Installation

Command line

go install github.com/Ferlab-Ste-Justine/clin-ui-dev-proxy@latest

Docker

  1. Build the image

     docker build --tag clin-ui-dev-proxy .
    
  2. make sure you can see the image

     docker image ls
    

Development

To build and run

  go run proxy.go

Run proxy

go install
clin-ui-dev-proxy

it expect the following defaults (configurable)

> clin-ui-dev-proxy --help

  -clinui-host string
        clin-ui host name or ip plus the port if not 80 (default "http://0.0.0.0:2005")
  -clinui-staticpath string
        clin-frontend development static ressources url (default "/clinui-static")
  -frontend-host string
        clin-frontend host name or ip plus the port if not 80 (default "http://0.0.0.0:2002")
  -frontend-staticpath string
        clin-frontend development static ressources url (default "/static")
  -help
        Display default commands
  -port int
        Proxy Port. Normaly 2000. Auth should redirect there  (default 2000)
  -verbose
        Display more information, access files

FAQs

Package last updated on 08 Jun 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc