fabric/share/templates/readmes/update_images.md
Ronny Abraham 0a7632c7fb moved templates to share directory
renamed:    templates/conf/database/files/db.drop_all.sql.jinja2 -> share/templates/conf/database/files/db.drop_all.sql.jinja2
	renamed:    templates/conf/database/files/db.drop_db.sql.jinja2 -> share/templates/conf/database/files/db.drop_db.sql.jinja2
	renamed:    templates/conf/database/files/db.init.sql.jinja2 -> share/templates/conf/database/files/db.init.sql.jinja2
	renamed:    templates/conf/database/files/db.re_init.sql.jinja2 -> share/templates/conf/database/files/db.re_init.sql.jinja2
	renamed:    templates/conf/gunicorn/files/gunicorn.jinja2 -> share/templates/conf/django/files/gunicorn.jinja2
	renamed:    templates/conf/gunicorn/files/gunicorn.unixsocket.jinja2 -> share/templates/conf/django/files/gunicorn.unixsocket.jinja2
	renamed:    templates/conf/gunicorn/files/local.jinja2 -> share/templates/conf/django/files/local.jinja2
	renamed:    templates/conf/gunicorn/files/settings.jinja2 -> share/templates/conf/django/files/settings.jinja2
	renamed:    templates/conf/gunicorn/files/settings18.jinja2 -> share/templates/conf/django/files/settings18.jinja2
	renamed:    templates/conf/gunicorn/files/wsgi.jinja2 -> share/templates/conf/django/files/wsgi.jinja2
	renamed:    templates/conf/gunicorn/files/wsgi.py -> share/templates/conf/django/files/wsgi.py
	renamed:    templates/conf/docker/files/database.jinja2 -> share/templates/conf/docker/files/database.jinja2
	renamed:    templates/conf/django/files/gunicorn.jinja2 -> share/templates/conf/gunicorn/files/gunicorn.jinja2
	renamed:    templates/conf/django/files/gunicorn.unixsocket.jinja2 -> share/templates/conf/gunicorn/files/gunicorn.unixsocket.jinja2
	renamed:    templates/conf/django/files/local.jinja2 -> share/templates/conf/gunicorn/files/local.jinja2
	renamed:    templates/conf/django/files/settings.jinja2 -> share/templates/conf/gunicorn/files/settings.jinja2
	renamed:    templates/conf/django/files/settings18.jinja2 -> share/templates/conf/gunicorn/files/settings18.jinja2
	renamed:    templates/conf/django/files/wsgi.jinja2 -> share/templates/conf/gunicorn/files/wsgi.jinja2
	renamed:    templates/conf/django/files/wsgi.py -> share/templates/conf/gunicorn/files/wsgi.py
	renamed:    templates/conf/nginx/files/default.conf.jinja2 -> share/templates/conf/nginx/files/default.conf.jinja2
	renamed:    templates/conf/nginx/files/unixsocket.jinja2 -> share/templates/conf/nginx/files/unixsocket.jinja2
	renamed:    templates/conf/supervisor/files/conf_old -> share/templates/conf/supervisor/files/conf_old
	renamed:    templates/conf/supervisor/files/supervisor.jinja2 -> share/templates/conf/supervisor/files/supervisor.jinja2
	renamed:    templates/meta/development.yml -> share/templates/meta/development.yml
	renamed:    templates/meta/layout.yml -> share/templates/meta/layout.yml
	renamed:    templates/meta/staging.yml -> share/templates/meta/staging.yml
	renamed:    templates/readmes/aws.md -> share/templates/readmes/aws.md
	renamed:    templates/readmes/gandi.md -> share/templates/readmes/gandi.md
	renamed:    templates/readmes/reset_migrations.md -> share/templates/readmes/reset_migrations.md
	renamed:    templates/readmes/setup_gandi.md -> share/templates/readmes/setup_gandi.md
	renamed:    templates/readmes/translations.md -> share/templates/readmes/translations.md
	renamed:    templates/readmes/update_images.md -> share/templates/readmes/update_images.md
2016-09-15 20:26:39 +03:00

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"