I need advice if this setup is ok. I have a personal dev server which runs Ubuntu. I have setup Ubuntu completely with git, django, mod_wsgi and apache2 running. I will be developing using my Macbook Pro.
My idea was to have identical directory structure on both machines off of web root.
Say:
Mac: /path/to/webroot/
...project1/
...project2/
Ubu: /home/me/webroot/
...project1/
...project2/
And use git to initiate the repo on Ubu server and clone it on my mac and start developing. This way I will achieve:
- Multiple code instances. So that if Ubuntu crashes, I have the code on Mac
- I will have the code locally on my Mac and that will help if I am on the move.
Please advice if this is a good thinking or needs any improvement.