api-sandbox/share/readmes/update_images.md
2025-04-22 18:06:11 +03:00

805 B

in order to update the images

  1. make fixtures - fab django.create_fixtures:appname

  2. copy fixtures - cp extras/backups/fixtures/appname/appname.json code/app/appname/fixtures/appname.json

  3. deploy - fab deploy.sync

  4. copy images - cp extras/path/to/images/* /var/www/project.branch/public/media/dynamic

  5. check pip - make sure virtualenv txt is updated to development

  6. syncdb - fab django.manage:syncdb

  7. ?flush - fab django.manage:flush

  8. ?superuser - fab django.manage:createsuperuser

  9. load fixture - fab django.manage:"loaddata fixture appname"

if first time: -? fab django.manage:"makemigrations thumbnail" -? fab django.manage:migrate

  1. ?clear thumbs - fab django.manage:"thumbnail clear"