training.shoppinpal.com
  • Introduction
  • 1. The Ideal Workspace
    • The Perfect Machine
      • For Biz Team
      • For Developers
      • For Designers
    • Setup a machine in the cloud
      • Solution
      • Setup box on Azure
        • Create a machine on Azure
        • Test drive your remote machine
        • Setup Dropbox On Azure
      • Setup box on DigitalOcean
        • Setup UI
        • Shared FileSystem
          • Dropbox
            • Use locally developed node modules in another project
          • sshfs
        • Long Running Sessions
      • Feedback
  • 2. Learning Git
    • Static Code Analysis
  • 3. The Backend
    • Use Containers
    • Setup a loopback project
    • Lockdown
    • Build a better mousetrap
    • The abyss stares back
    • Built-in models
    • Extending built-in models
    • Understanding UserModel
    • Boot Scripts
    • Promises
    • Find roles for current user
    • Loopback Console
    • Current User
  • 4. Multi-tenancy With Loopback
    • What is Multi-Tenancy
    • Architecting with Loopback
    • Define scope for Roles
    • Role Resolvers
    • Access Control For Tenants
    • Better Programming with multi-tenancy
  • 5. The Frontend
    • The Browser
    • Unit Testing
      • Motivation behind this blog
      • How to write a test
      • Karma and Jasmin
      • Writing Tests
    • End-2-End Testing
    • Angular 1.x
    • Angular 2
      • Testing
  • 6. ElasticSearch
    • Better Search with NGram
    • NGram with Elasticsearch
    • Fun with Path Hierarchy Tokenizer
    • Working with Mappings and Analyzers
  • 7. Promises
    • What are Promises
    • Promise Implementations
    • Nuances
    • What should we use
  • 8. Learning Docker
    • Docker Swarm
  • 9. Queues & Workers
    • PHP workers in AWS EBS
    • NodeJS workers in AWS EBS
      • SQS Daemon by AWS
      • SQS Daemon in NodeJS
      • SQS polling by worker
    • Gearman
  • 10. Docker
    • Capabilities
  • Appendix
    • Bug in WebStorm deployments
    • The Perfect Terminal
    • Scalable App Deployment with AWS
    • Chrome Tips & Tricks
    • Host your own Gitbook
    • Gitbook Tips & Tricks
    • How to handle support incidents
    • Dev Resources
    • Debug e2e Tests on CircleCI
    • Logging
    • Authentication Principles
    • Mac
    • nvm
    • Unify testing with npm
      • Debugging Mocha
    • Sequence Diagrams
    • Project Sync via IDE
      • SFTP with WebStorm
      • SFTP with Visual Studio
    • Soft Linking
    • NodeJS Profiling
      • How to find node.js performance optimization killers
    • Setup Packer on Azure
Powered by GitBook
On this page
  1. Appendix
  2. Project Sync via IDE

SFTP with WebStorm

PreviousProject Sync via IDENextSFTP with Visual Studio

Last updated 7 years ago

Note: This tutorial assumes you have already

Steps are documented below the video:

  1. Open WebStorm

    1. Create New Project, or

    2. Open an existing one.

  2. Goto Tools > Deployment > Configuration

    This will open the configuration window where you will be adding a server .

  3. Click on "+" Symbol i.e. Add Deployment Server

  4. Now In Connection tab, specify the name you want to give to this deployment server. For eg. Webstorm Remote Access

  5. Now Select Type i.e. FTP, SFTP, FTPS or Local . Here we are describing the interaction type with the remote host.

    1. FTP : File Transfer Protocol

    2. SFTP: SSH File Transfer Protocol

    3. FTPS: FTP-SSL (extension to FTP)

    4. Local

  6. For This demo, We will be selecting SFTP.

  7. Now Specify other details as :

    1. Host : mention the IPv4 address of your droplet.

    2. port : 22

    3. rootpath: / (Specifies the root path of your droplet. Leave it alone if you are not an advanced user)

    4. username: username for logging into your droplet. For digitalocean droplets, it will usually be root

    5. Auth type: Change it from Password to Key pair

      1. Private key file: You can use the ... symbol to enter the file browser and 9 times out of 10, the file you want to select is located here: /Users/<your_username>/.ssh/id_rsa on a mac.

      2. Key passphrase: Provide the password you used to encrypt your id_rsa file.

        1. enable the Save passphrase checkbox

  8. Additionally click on "Test SFTP Connection" to verify if your connection is authorized or not.

  9. Once your connection is successful, navigate to Mappings tab .

    1. Local Path : path of your application in your system

    2. Deployment Path : path of your application on the remote host. For eg. /root/dev/BluBox where BluBox is the application directory.

  10. For advanced users:

    • You can chose to ignore few directories which we want i.e. node modules, bower_components etc. by adding them to excluded paths.

  11. Now Click on OK.

  12. Your Webstorm Deployment Server Configuration is complete.

    1. If you used an existing project:

      1. Click on Tools > Deployment and select Sync with Deployed to Webstorm Remote Access.

        1. It will take some time to sync local project with the remote one.

  13. Goto Tools > Deployment menu and select Automatic Upload

  14. Now whenever you save changes, the code is uploaded on the remote host

    • Advanced users: Additionally if your remote box is configured appropriately, then your application is re-deployed with the updated code. But that's a separate topic.

setup a droplet on DigitalOcean.