Sync code between two machines -- from development to deployment.
Clone your project repo in your development machine (say, your Windows laptop), and then run the following your deployment machine (say, your Linux server):
$ mkdir ~/code/myproject
$ docker run -d -v ~/code/myproject:/code srid/codesync ${SECRET}
where ${SECRET} is the read-only secret of your git clone path added
to BitTorrent Sync on your development machine.
Whenever you modify files on your development machine -- using whatever tools of your choice, because now you aren't constrained by the limitations of the deployment machine -- they get automatically synced to the deployment machine where you normally would run the compile/ run/ debug cycle, that which is not easily doable on your development machine, especially if it is Windows.
Content type
Image
Digest
sha256:b4f7221e9…
Size
71.3 MB
Last updated
almost 11 years ago
docker pull srid/codesync