How to create the Dart server?

This is my first time creating the Dart server. What should I do after creating a droplet? I have a dart server project that can work when I run dart run in my local. Can someone explain these steps to me?

Submit an answer
Answer a question...

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Site Moderator
Site Moderator badge
March 14, 2023

Hey @sittiphansittisak,

I’ve never used Dart however looking at their documentation here

You need to :

sudo apt-add-repository ppa:dartsim/ppa
sudo apt-get update  # not necessary since Bionic
  • Install the core library

    sudo apt-get install libdart6-dev
  • Install optional components

    e.g., installing collision-bullet component:

    sudo apt-get install libdart6-collision-bullet-dev
  • Install everything

    sudo apt-get install libdart6-all-dev

Now if you need Dartpy, you can check

I am using Ubuntu 20.04 (LTS) x64

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.