Skip to content

kkamara/nodejs-github-to-bitbucket-backup-repo-updater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nodejs-github-to-bitbucket-backup-repo-updater

💻 Compatible with Windows, MacOS & Linux.

Quickstart for MacOs & Linux Machines

# Set a config.json in your current working directory at your terminal.
npm i nodejs-github-to-bitbucket-backup-repo-updater
ghbbupdater --help
ghbbupdater

Requirements

Installation

Update config.json with your github and bitbucket remote urls for your repos.

{
  "repos": {
    "kelvinkamara.com": {
      "github": {
        "origin": "https://github.com/kkamara/kelvinkamara.com",
        "branch": "main"
      },
      "bitbucket": {
        "origin": "[email protected]:kkamara2/kelvinkamara.com",
        "branch": "main"
      }
    }
  }
}
  npm install

Using a MacOs or Linux Machine?

  chmod +x app.js
  npm cache config set prefix /usr/local # Ignore for Node.js 14.
  npm run build # execute ghbbupdater command in path
  # sudo npm run build for Node.js 14.
  ghbbupdater --help

Usage

  npm run start
  npm run start -- --help

Tests

  npm run test

Misc

See Github to Bitbucket Backup Repo Updater made with PHP.

See PHP ReactJS Boilerplate.

See ReactJS Boilerplate.

See PHP Scraper.

See NodeJS ReactJS Boilerplate.

PHP Docker Skeleton.

Python Docker Skeleton.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

BSD