By SnekGuy
I have tried finding some info around this on the web, but with little success. Hopefully someone here has some insight which can help me progress.
So, I’m basically ready to deploy my Mezzanine project to an Ubuntu14 droplet… I ran “fab secure”, which went fine. Then, when I run “fab create”, this error occurs:
[1xx.xx.xxx.xxx] out: Using base prefix ’/usr’ [1xx.xx.xxx.xxx] out: New python executable in /home/adm/.virtualenvs/project/bin/python3 [1xx.xx.xxx.xxx] out: Also creating executable in /home/adm/.virtualenvs/project/bin/python [1xx.xx.xxx.xxx] out: Installing setuptools, pip, wheel… [1xx.xx.xxx.xxx] out: done. [1xx.xx.xxx.xxx] out: [1xx.xx.xxx.xxx] rsyncproject: rsync –exclude “.pyc” –exclude “.pyo” –exclude “*.db” –exclude “.DSStore” –exclude “.coverage” –exclude “local_settings.py” –exclude “/static” –exclude “/.git” –exclude “/.hg” -pthrvz –rsh=‘ssh -p 22 ’ C:\Users\user\Desktop\blog\project\ adm@1xx.xx.xxx.xxx:/home/adm/mezzanine/project
[localhost] local: rsync –exclude “.pyc” –exclude “.pyo” –exclude “*.db” –exclude “.DSStore” –exclude “.coverage” –exclude “localsettings.py” –exclude “/static” –exclude “/.git” –exclude “/.hg” -pthrvz –rsh='ssh -p 22 ’ C:\Users\user\Desktop\blog\project\ adm@1xx.xx.xxx.xxx:/home/adm/mezzanine/project
rsync is not recognized as an internal or external command, executable program or batch file.
Fatal error: local() encountered an error (return code 1) while executing 'rsync –exclude “.pyc” –exclude “.pyo” –exclude “*.db” –exclude “.DSStore” –exclude “.coverage” –exclude “localsettings.py” –exclude “/static” –exclude “/.git” –exclude “/.hg” -pthrvz –rsh='ssh -p 22 ’ C:\Users\user\Desktop\blog\project\adm@1xx.xx.xxx.xxx:/home/adm/mezzanine/project’
Aborting. Disconnecting from 1xx.xx.xxx.xxx… done.
Now, according from the above, it’s due to my system not having Rsync. I have found some potential solution, like installing CygWin for windows7, and then installing Rsync. Is this a good idea, or will it mess up something?
Alternatively, can I use Git? In this case, how do I go about setting up Git for it? There’s no guide/template/example on this wherever I look.
Any help is very appreciated. Thanks for reading so far.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hello,
What you could do is install bash on your Windows PC and then use Terminus as your SSH client.
Here’s how to enable bash on your Windows PC:
https://stackoverflow.com/questions/36352627/how-to-enable-bash-in-windows-10-developer-preview
After that you can download Terminus from here:
https://github.com/Eugeny/terminus/releases
That way you would be able to have rsync installed locally on your machine and the method should work.
Also with this setup your Windows would be a bit UNIX like as you would have a nice terminal along with bash.
Let me know how it goes! Regards, Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.