Skip to content

fxxkit/OD-survey

Repository files navigation

歐低點菜

Build Status GitHub version

prerequisite

  1. Python: including pip and virtualenvwrapper
  2. Heroku toolbelt
  3. Git/Github

setup develop env

$ git clone [email protected]:fxxkit/OD-survey.git
$ cd OD-survery
$ mkvirtualenv od
$ pip install -r requirements.txt
$ foreman start
$ python server.py -d

workflow

  1. Fork this repository <iframe src="https://ghbtns.com/github-btn.html?user=twbs&repo=bootstrap&type=fork&count=true" frameborder="0" scrolling="0" width="170px" height="20px"></iframe>
  • Clone from your own Github repo

     git clone <your-git-repo-url>
     git remote rename origin self
     git remote add origin [email protected]:fxxkit/OD-survey.git
    
  • update to the last version:

$ git checkout develop $ git pull origin develop ```

  • work on the issues and make some changes, you can check the status using

$ git status ```

  • add changes to stage, make a commit and push to self

$ git add $ git commit -m "" ```

  • go to your own page, send Pull Request (PR) via Github

  • release master will reviewer the code changes and merge the PR if everything is fine (including the Travis CI build)

Update tags

git tag -a vx.x.x -m "version description"
git push origin --tags 

links