Hi! When you create a droplet, you can select the one click Magento image. Take a look at How To Use the Magento One-Click Install Image for more info on how to use it.
To install the sample data, log in to your droplet as root and download the sample data archive:
Then, extract it and copy the files to the magento instance:
tar xjvf magento-sample-data-18.104.22.168.tar.bz2
cp -r media/* /var/www/html/magento/media/
cp -r skin/* /var/www/html/magento/skin/
Finally, you'll need to import the mysql dump that's provided with the sample data. However, you will first need to delete the existing database as the sample data cannot be installed on an existing setup.
mysql -Bse 'drop database magento;'
mysql -Bse 'create database magento;'
mysql magento < magento_sample_data_for_22.214.171.124.sql
To clean up, simply delete the magentosampledata directory:
rm -r ~/magento_sample_data
You can now browse to your droplet's IP address to access the demo magento store.
DigitalOcean's Magento One-Click application provides a quick start to building a Magento storefront on top of a LAMP stack. This tutorial will guide you through the steps to finish configuring your site, including setting your domain name and installing an SSL certificate.