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

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

Open
EslamHanafy opened this issue May 21, 2018 · 3 comments
Open

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

EslamHanafy opened this issue May 21, 2018 · 3 comments

Comments

@EslamHanafy
Copy link

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
Copy link
Contributor

ahmedre commented May 22, 2018

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
Copy link
Author

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
Copy link

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

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

3 participants