It seems to me that all that you have to do is just move the files (if it's a git project, do not move the .git folder...). After that you need a clean build.