Git Product home page Git Product logo

go-rsync's Introduction

GO RSync

The app synchronises files between 2 remote data sources. The app may be running locally or could be deployed on a cloud environment (k8s, helm).

The app is in the development

Supported data sources:

  • FTP (with TLS)
  • Azure Blob Storage

Run

Copy the .env file into a .local.env file and replace string PUT_CREDS_HERE with your data there.

cp .env .local.env

Then build and run the app:

go build ./cmd/gorsync
env $(cat .local.env | xargs) ./gorsync

Development

PLEASE DO NOT COMMIT THE .env FILE WITH CREDENTIALS

Tests

Mocks are generated by Mockery. The tool should be installed locally. Please refer to Installation section to have it installed on your dev env.

The following command generates a mock for the interface Downloader in the folder ./internal/mocks

mockery --name=Downloader -dir ./internal/rsyncapp/  --output ./internal/mocks

License

MIT

TODO

  • create chart for artifacthub.io
  • add travic-ci
  • add codecov
  • add godoc.org
  • add goreportcard.com

go-rsync's People

Contributors

edorosh avatar

Watchers

 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.