This project contains several implementation markdown libs for Django.
- martor
- django-markdownx
- django-mdeditor
- django-simplemde
(not has file uploading)
You can find them in the django admin.
Change configs and experimental that choice what you better.
To run use Makefile
:
make initialize
Or use long way
:
cp .env.example .env # or copy manually .env.example to .env
docker-compose up --build -d
docker-compose exec app python manage.py makemigrations --noinput
docker-compose exec app python manage.py migrate --noinput
docker-compose exec app python manage.py createsuperuser --noinput &> /dev/null || true
After initialize, you can open django admin: http://localhost:8080/admin
Press Add
button on interesting your editor:
And you see selected markdown editor interface - enjoy and experiment with configurations
- If you need get access for you uploaded files, your can open http://localhost:49001
for access to
minio
with username:SomeKeyID
and password:SomeSecretKey
. - I made some edits with upload methods, because it not work
from stock (from libs docs), you can see this changes in
src.config.uploader_views.py