Επαγγελματίας Εξαρτημένος στο Διαδίκτυο • Λάτρης των Παιχνιδιών • Δημιουργός Τεχνολογίας
Επαγγελματίας Εξαρτημένος στο Διαδίκτυο • Λάτρης των Παιχνιδιών • Δημιουργός Τεχνολογίας

Πώς να εγκαταστήσετε το Dart SDK στο Cloud 9 IDE

Πώς να εγκαταστήσετε το Dart SDK στο Cloud 9 IDE!
Αυτή η σελίδα έχει μεταφραστεί από τα Αγγλικά από τους ιδιαίτερα δραστήριους ασκούμενούς μου στην Τεχνητή Νοημοσύνη για την καλύτερη εξυπηρέτησή σας. Μαθαίνουν ακόμα, επομένως ενδέχεται να έχουν γίνει κάποια λάθη. Για τις πιο ακριβείς πληροφορίες, ανατρέξτε στην αγγλική έκδοση.
Σπίτι Ιστολόγιο Πώς να εγκαταστήσετε το Dart SDK στο Cloud 9 IDE

Λάβετε υπόψη ότι αυτή η ανάρτηση ιστολογίου δημοσιεύτηκε τον Ιούλιο του 2015, επομένως, ανάλογα με το πότε την διαβάζετε, ορισμένα μέρη ενδέχεται να είναι παρωχημένα. Δυστυχώς, δεν μπορώ πάντα να διατηρώ αυτές τις αναρτήσεις πλήρως ενημερωμένες για να διασφαλίσω ότι οι πληροφορίες παραμένουν ακριβείς.

    Cloud9 is a pretty cool cloud based IDE. Even though it does not support Dart code formatting, you can still develop and run Dart server applications in the IDE by downloading and installing the Dart SDK.

    Download the SDK

    The first thing you need to do is to figure out is if you are on a 32 or a 64 bit architecture. Most likely you are on a 64 bit, but let's make sure. To do that you can type in the command:
    uname –a uname command
    Here we can see are on a 64 bit machine, so we need to download the 64 bit version of the Dart SDK for Linux on their archive page:
    Finding the SDK URL
    Copy the URL, as we are going to use it later. In my case, at the time I published this blog post, the URL is:
    Open up a terminal in the Cloud 9 IDE and go to your home directory:
    cd ~
    and download the SDK with wget:
    wget https://storage.googleapis.com/dart-archive/channels/stable/release/latest/sdk/dartsdk-linux-x64-release.zip Downloaded with wget
    After it has been downloaded type ls and you should see it:
    SDK downloaded

    Configure as global command

    If you read the Dart SDK page it tells us how to make Dart as a global command using the export command:
    Dark SDK export instructions
    So in our case, the full syntax will be
    export PATH=${PATH}:~/dartsdk-1-11-1/dart-sdk/bin/
    We can check if was added successful by typing
    echo $PATH Echo path output

    Testing it all

    Now if we return to our workspace directory (cd ~/workspace/) we can see that we have access to Dart by simple typing dart.
    Dart help

    Γράφτηκε από τον/την Special Agent Squeaky. Πρώτη δημοσίευση 31-07-2015. Τελευταία ενημέρωση 31-07-2015.

    📺 Δες το τελευταίο βίντεο του Squeaky!

    Πώς να προσθέσετε απλούς υπότιτλους πραγματικού χρόνου στη ζωντανή σας μετάδοση