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-126.96.36.199.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_188.8.131.52.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.