Coder Social home page Coder Social logo

ghostfs's Introduction

ghostfs

This repository allows deploying a GhostFS Server and Auth Server, and a GhostFS Auth Backend.

Install

  1. Clone this repository and cd into the cloned folder.
  2. Copy the template file:
    cp auth_backend/auth_backend.env.template auth_backend/auth_backend.env
    In the newly created file, update the domain_name to where the GhostFS Auth Backend will be hosted.
  3. To generate a self-signed SSL certificate and key for the GhostFS Server running on the same domain_name as above, execute the following command:
    ./gen_cert.sh <domain_name>
  4. If needed, edit the .env to update the version of GhostFS Server and Auth Server.
  5. To install a GhostFS server and a GhostFS Auth Backend running on PM2 with a Caddy reverse proxy, execute the following command:
    ./install_ghostfs.sh
    When requested, enter a username and password for the GhostFS Auth Backend htpsswd.
  6. Verify that everything is running correctly using:
    sudo pm2 status
  7. Verify that there are no errors in the logs of each process:
    sudo pm2 logs <id>

The GhostFS Auth Backend API is available at https://domain_name:CADDY_PORT/fs/ok

The GhostFS Server is available at domain_name:3444

The GhostFS Auth Server is available at domain_name:3555

The served data is stored in /mnt/nextcloud-dp/nextcloud/data

Update

To update GhostFS Server and Auth Server to another version, edit .env with the new version number, then execute:

./get_ghostfs.sh

Acknowledgements

The GhostFS Server, Client and Auth Server are developed by Pouya Eghbali and Nathalie Casati as part of Ako Grid.

This research was supported by the EBRAINS research infrastructure, funded from the European Union’s Horizon 2020 Framework Programme for Research and Innovation under the Specific Grant Agreement No. 945539 (Human Brain Project SGA3).

ghostfs's People

Contributors

idmple avatar sami-sweng avatar floriansipp avatar nicedexter avatar

Watchers

Yoan Blanc avatar  avatar  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.