Lanka Developers Community

    Lanka Developers

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Shop
    1. Home
    2. Tags
    3. bitbucket
    Log in to post
    • All categories
    • M

      Bitbucket to cPanel deployment
      Back-End Development • bitbucket automation php cpanel git • • malinga91

      5
      1
      Votes
      5
      Posts
      432
      Views

      dev_lak

      @root mama eka parak kara hooks walin, pipeline nam try kare nha

    • lkdev

      How to install npm package from bitbucket private repository
      Programming • npm bitbucket git • • lkdev

      2
      0
      Votes
      2
      Posts
      344
      Views

      root

      Declare dependencies in your nodejs app package.json:

      "dependencies": { "modulename":"git+https://[email protected]/lanakdevelopers/modulename.git", "ejs": "1.0.0" }

      Then follow below steps

      Turn on git cache, keep password in the cache for a certain period of time git config --global credential.helper cache git config --global credential.helper 'cache --timeout=3600' Access your private repository once, type your bitbucket password when prompted git ls-remote https://[email protected]/lankadevelopers/modulename.git

      Now you can install packages using npm install

    • 1 / 1