quran / quran.com-images

images using fonts from King Fahed Complex / qurancomplex.org
http://quran.com
390 stars 125 forks source link

How to export the .sql file from the docker #24

Open EslamHanafy opened 6 years ago

EslamHanafy commented 6 years ago

At the beginning thanks for your great work, i downloaded the project and successfully install it via docker installation and exported some images but i can not find the generated .sql file (that contains the glyph data based on the exported file size) and i don't know what to do to get it using the docker. and thanks for your great help.

ahmedre commented 6 years ago

salam 3alaikum, did you try the suggestion of the README -

# run some generation scripts (see Usage below)
docker-compose run gen /app/script/generate.pl --output ./output/ ...

and:

Note that mysql data is persisted on the host volume mysqldata. You must set the --output option value to ./output/ to persist the output on the host machine. Any other output path will be local to the container.
EslamHanafy commented 6 years ago

w3alaykum alsalam warahmat allah wabarakatuh yes i tried it docker-compose run gen ./script/generate.pl --width 1300 --output ./output/ --pages 50 and successfully got the images and folder named mysqldata but it doesn't contain any .sql files i am sorry for bothering you but it's my first time using the docker screen shot 2018-05-22 at 2 37 36 pm

hamidhosseini commented 4 years ago

Did you find a solution to this? I get the images but no sql file or sql folder.