pytition / Pytition

Django app for self-hosted privacy-friendly online petitions
https://pytition.org
BSD 3-Clause "New" or "Revised" License
99 stars 28 forks source link

add upgrade section on documentation #244

Closed bbmt-bbmt closed 4 years ago

bbmt-bbmt commented 4 years ago

Is your feature request related to a problem? Please describe. The actual documentation doesn't have an "how to upgrade section" Some people may only do 'git pull' and 'git checkout version' and 'forget pip install upgrade'

Describe the solution you'd like this command can be added to the documentation:

  $ git pull
  $ version=$(curl -s https://api.github.com/repos/pytition/pytition/releases/latest | grep "tag_name" | cut -d : -f2,3 | tr -d \" | tr -d ,)
  $ git checkout $version
  $ source pytition_venv/bin/activate
  (pytition_venv) $ pip3 install upgrade -r requirements.txt
fallen commented 4 years ago

Yes, good idea! Thanks :)

Also tell to: