/django-quill-example

Django app quill editor example

Primary LanguageHTMLMIT LicenseMIT

django-quill-example

Django app quill editor example

Awesome Quill

https://github.com/quilljs/awesome-quill

Build containers

docker-compose up -d --build

Create directories

docker exec -it django-quill-example_web_1 sh
mkdir -p /data/media/img/blog
chown -R nginx:nginx /data/media/img/

Check container logs

docker logs django-quill-example_web_1
docker exec -it django-quill-example_db_1 sh
docker exec -it django-quill-example_db_1 psql editor admin
docker exec -it django-quill-example_web_1 python3 manage.py collectstatic --noinput
docker exec -it django-quill-example_web_1 python3 manage.py makemigrations
docker exec -it django-quill-example_web_1 python3 manage.py migrate
docker exec -it django-quill-example_web_1 python3 manage.py createsuperuser --username=deepblack --email=andrew@dorokhin.moscow