Skip to content

Ako postupovat pri manualnom update

Michal Hozza edited this page Dec 30, 2015 · 4 revisions

Staci pustit od seba fab prod update pripadne fab beta update.

Plne manualny postup:

  1. git pull # update source code
  2. source ~/env-trojstenweb-2.7/bin/activate # load virtualenv
  3. pip install -r requirements.txt # update packages
  4. pip install -r requirements.devel.txt # update additional packages
  5. python manage.py syncdb # create new tables
  6. python manage.py migrate # update existing tables
  7. python manage.py collectstatic # update static files
  8. touch trojsten/trojstenweb.wsgi # reload all files
Clone this wiki locally