Question

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


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.

KFSys
Site Moderator
Site Moderator badge
March 14, 2023

Hey @sittiphansittisak,

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

https://dartsim.github.io/install_dart_on_ubuntu.html

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 https://dartsim.github.io/install_dartpy_on_ubuntu.html

I am using Ubuntu 20.04 (LTS) x64

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up