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
issue(docs): dartdoc documentation not completed #14
Comments
I try to make it work. u need dart and flutter sdk on docker client. also u need to install all dependencies of the app with pub get. there are other options 1- push the generated docs to git repo. then u can serve the gerenated docs with a minimal webserver on docker. but It is not recommended to keep generateable content in git repo
2 - generate the docs on host then u can serve the gerenated docs with a minimal webserver on docker so u will need a simple script to generate docs and docker compose up. but this is contrary to the docker intended use. |
Approach described first is the one that already is in the configuration. Flutter SDK includes Dart SDK. In app's Dockerfile it runs approach with nginx is not recommended, but it may be a good enough solution for now. Last approach as you said, is contrary to the docker intended use, so I believe that shouldn't be used. |
Documentation is still not completed - it requires to configure dartdoc - which unfortunately I am unable to test, because of my M1 Mac incompatibility with flutter image. It contains Dockerfile and commented out docker-compose config. I tried to make it work with my friend who helped me as tester, most of Dockerfile seems to work fine, but it can't properly find generated documentation and start server with dhttpd.
The text was updated successfully, but these errors were encountered: