github - Workflow for webapplication development without local development servers using git(hub) 1 coder + 1 webdesigner -


i programmer , in near future going work web/template designer on several projects. think development workflow setup? have optimization tips?

setup 1 specific project

  • the whole project hosted on github.
  • the project complex webapplication running on linux os (it's impossible run on local development-server, neither on windows nor on mac).
  • there 2 branches: dev , master. dev testing server , master productive server.
  • besides main github repository there local repository on designer's computer, 1 on computer, 1 on testserver , 1 on production server.
  • i develop locally (on windows). while developing there auto-sync script automatically uploads files edit via ftp testing server, can check instantly if changes work.
  • the designer develops locally (on mac), have auto-sync script automatically uploads changes testserver via ftp, has access special "layout"-directory templates , static files (images, css, js, ...) located. needs check every few minutes if changes or new features work.
  • whenever designer or me sucessfully finished , tested new feature on testserver push our changes local dev-branch remote dev-branch on github. testing server not touched git far.
  • everyday in morning there cronjob, deletes whole testserver directory , "git clone" of dev-branch of remote repository hosted on github. way testserver has new commits.
  • the designer , me have "git pull" newest updates of each other using remote github repository every morning before further development.
  • as feature runs on testserver merge "dev" branch "master" , commit master github.
  • then have deployment pulls master branch github production server.

questions

how handle situation cannot have local development-servers each project-member (because application not able run locally)? seems unprofessional have 1 testserver can upload files via ftp try stuff, because can happen overwrites elses files testing fail. there best-practice example of how develop in team when there no local testing server?

thanks in advance , sorry english, not native language.

git distributed version control system, works best when working on project has own development environment in can work with. don't recommend using git project testing app on single server. recommend use centralized version control system subversion. unfortunately using subversion won't able host repository on github (you'd have use system git-svn bit complex)


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

java - Using an Integer ArrayList in Android -