Giter VIP home page Giter VIP logo

sda-filesystem's Introduction

SD Connect FUSE

This desktop software converses with the sd-connect-metadata-api and sd-connect-data-api to download files.

Set environment variables SD_CONNECT_METADATA_API, SD_CONNECT_DATA_API and SD_CONNECT_CERTS before running program.

For test environment use:

export SD_CONNECT_METADATA_API=https://connect-metadata-api-test.sd.csc.fi
export SD_CONNECT_DATA_API=https://connect-data-api-test.sd.csc.fi
export SD_CONNECT_CERTS=cert.pem	#SD_CONNECT_CERTS should be the file that contains the necessary certificates

Graphical User Interface

Dependencies

Go version 1.16

cgofuse and its dependencies on different operating systems.

Install Qt for Go. Regardless of the operating system, there are multiple ways of installing this package. Required that GO111MODULE=on.

Setup

Install required packages and vendor dependencies

./dev_utils/setup-linux.sh

Note: for some vendor modules there might be warnings such as:

INFO[0427] installing full qt/bluetooth                 
go install: no install location for directory /home/<user>/sd-connect-fuse-master/vendor/github.com/therecipe/qt/bluetooth outside GOPATH
	For more details see: 'go help gopath'

These are ok and are caused as of go 1.14+

go command now verifies that the main module's vendor/modules.txt file is consistent with its go.mod file.

Run

qtdeploy build desktop cmd/qt/main.go
./cmd/qt/deploy/darwin/qt_project.app/Contents/MacOS/qt_project  // Path slightly different for other OS`

Deploy

To deploy binary to Virtual Machine (VM):

qtdeploy build desktop cmd/qt/main.go
tar -czf deploy.tar.gz -C cmd/qt/deploy linux

Copy the archive of the deployment environment.

Command Line Interface

go build -o ./go-fuse ./cmd/cli/main.go
./go-fuse

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.