-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Clarify Dart getting started steps #2062
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
Conversation
Based on feedback in dart-lang/dart-docker#28
dart/content.md
Outdated
$ dart create -t server-shelf myserver | ||
``` | ||
|
||
### Running server with Docker Desktop |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the server
or a server
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
thanks for this addition. a little problem though: the command seems pretty new. I use dart 2.13.3 which is an installation no older than 6 months, in it the command template is "server-simple" not "server-shelf". can you include dart version info too? a minimum maybe? or maybe give both commands if both are applicable in docker. Edit: I found out now though "server-simple" exists older, that template does not have a docker file in it. so one has to write a dockerfile manually before "docker build" command. If you decide to also add "server-simple" then a guard clause like "check Image documentation below" would be nice. |
@mit-mit about dart versions, you have more knowledge than I may possible cant have for another year :) if as for and in that case, this docker document has a dockerfile content documented down below that same page. so maybe adding something like this helps: "for older versions of dart, create your dart server project, add a |
It did.
Yes, that also happened in 2.14: dart-lang/sdk#46100
We don't generally document past stable releases as we're still evolving quite a bit, so this quickly get's unsustainable. Thanks for the feedback! I'll get that new PR landed. |
Based on feedback in dart-lang/dart-docker#28