20 lines
805 B
Markdown
20 lines
805 B
Markdown
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 <branch> 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 <branch> django.manage:syncdb
|
|
|
|
5. ?flush - fab <branch> django.manage:flush
|
|
6. ?superuser - fab <branch> django.manage:createsuperuser
|
|
7. load fixture - fab <branch> django.manage:"loaddata fixture appname"
|
|
|
|
if first time:
|
|
-? fab <branch> django.manage:"makemigrations thumbnail"
|
|
-? fab <branch> django.manage:migrate
|
|
|
|
8. ?clear thumbs - fab <branch> django.manage:"thumbnail clear"
|