Deploy your website to DigitalOcean (part-2)

Hi everyone,
Today, I'll complete talking about deploying your website to DigitalOcean. Do you remember the email you received from digitalocean with credentials? You will need that.
For the next step, you will need FTP client if your IDE don't already support that. I am using Aptana so, I'll show now how to upload your files to DigitalOcean using Aptana.

3- Upload Files

  • Choose your project from "Project Explorer" view.
  • Right click on your project then choose "Publish" then "Run Web Deployment Wizard ...".
  • Choose  FTP/SFTP/FTPS as the deployment provider.
  • Fill the information like this:
  • Site Name => your site name
  • Protocol => "SFTP"
  • Sever => Write the IP Address found in the credentials email.
  • Username => "root"
  • Password => Write the Password found in the credentials email.
  • Remote Path => "/home/rails"
  • Press "Finish". 
  • If everything went well, then Right Click on your project, then "Publish", then "Upload"

The next part I'll tell you about handling database, restore your data and how to run/debug your server.

Good luck.


Comments

Popular Posts