Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate to docker #16

Closed
neic opened this issue Aug 15, 2018 · 0 comments
Closed

Migrate to docker #16

neic opened this issue Aug 15, 2018 · 0 comments

Comments

@neic
Copy link
Owner

neic commented Aug 15, 2018

docker-compose -f docker-compose-vae.yml run -v ~/ddweb-data/:/ddweb-data ddweb-app sh
/venv/bin/python manage.py migrate
/venv/bin/python manage.py sqlflush | /venv/bin/python manage.py dbshell
/venv/bin/python manage.py loaddata /ddweb-data/contenttype.json
/venv/bin/python manage.py loaddata /ddweb-data/everything_else.json
cp -r /ddweb-data/danishdecoration.dk/static/ /mnt/
cp -r /ddweb-data/danishdecoration.dk/media/ /mnt/
mv /mnt/media/CACHE/ /mnt/media/cache
/venv/bin/python manage.py thumbnail clear_delete_all
/venv/bin/python manage.py changepassword neic
@neic neic mentioned this issue Sep 3, 2018
7 tasks
@neic neic closed this as completed Nov 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant