Giter Club home page Giter Club logo

sourcesync's Introduction

sourcesync

Source Synchronizer is a powerful plugin for performing one-way file synchronization for PhpStorm, IntelliJ IDEA and Pycharm projects. It synchronizes the remote target so that it will match your local project. It features SFTP, SCP, FTP and FTPS protocol support.

Installation

sourcesync pluging can be found at: http://plugins.jetbrains.com/plugin/7374?pr=idea_ce

Details about how to install a plugin from JetBrains plugin repository can be found at: http://www.jetbrains.com/idea/webhelp/installing-updating-and-uninstalling-repository-plugins.html

How to use it

sourcesync is pretty easy to use. First of all you need to configure a remote connection so that the plugin will know where to sync the files. To do so please access the Tools menu, and then Source Sync like in the below picture:

Tools --> Source Sync

Hit Add to create connections or remove them: Add / Remove connections

After you are done creating/editing the connection, hit Apply in order to save the configurations and then OK to exit the window.
Now - after you created the configuration you need to specify which connection you want to use for the current project. For that matter please select you project in your Project View (Alt + 1 shortcut to bring the view forward) and then right click on the desired project and select Project Connection Configuration

Right click on the desired project --> Project Connection Configuration

Now that you have done this step you are up and ready to sync files. Just right click on the project, module, or even on a opened file. You will be presented with three options like in the below screenshot:

Sync files

Passwordless ssh

The plugin support passwordless SSH for both SFTP and SCP connections. In order to take full advantage of this feature you are advised to create a pair of public/private keys on your local machine - where IntelliJ or PyCharm IDE resides. Then copy the public key on every remote host you will connect to: Eg:scp ~/.ssh/id_dsa.pub my_user_id@remote_hostname_or_IP:~/.ssh/id_dsa.pub After this step is done, you should open a ssh shell to the remote machine where you will be prompted to authorize the key. Next you should open the config window and create a new SFTP connection. Then just like in the bellow picture, select Use SSH key and then browse and select the generated private key.
SFTP connection with passwordless support
Also don't forget to set the username to connect on the remote machine.

Donations

Any support is graciously accepted :)

Donate

A few notes

Sync this file to remote target is only present on opened file and it will sync just that file to the remote machine.

Sync changed files to remote target will upload version tracked files that are changed but not yet committed.

Sync selected files to remote target this one is pretty straight forward. It will upload just the selected files.

  • If SCP protocol is used, please take note that this type of connection can only sync the file, it cannot create the entire directory tree where the file will be saved. Thus you need to have the tree created. This is not a bug of sourcesync. SCP is not a file protocol like FTP. It's only purpose is to transfer files.
  • For FTP and FTPS preserving timestamp is not yet supported. This is a work in progress.

Tested on

  • Windows 7
  • GNU/Linux based OS's
  • OS X 10.11

License

sourcesync is licensed under MIT License. Please take a look at the LICENSE file for more informations.

Issues

Bugs can be reported at:
https://github.com/fioan89/sourcesync/issues

Contact

You can find me at the follwoing email address: fioan89 at gmail dot com

sourcesync's People

Contributors

fioan89 avatar prabirshrestha avatar janthiel 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.