Git Product home page Git Product logo

columbus-cli's Introduction

columbus-cli

Prettier Wookiee deployment https://wookiee.ch/columbus-cli/ release

Naive implementation of a Blockchain visualizer that works with cothority >= 3.4.3.

Run with npm install && npm run bundle

Play with it

About Continuous Deployment (CD)

Each update on the production branch triggers a deployment on the production server. Therefore, the produciton branch must only be used to make a new deployment by updating it from the master branch with:

# Trigger a deployment:
git push origin master:production

Here is the simple setup we followed for continuous deployment:

1:

Create and set-up an ssh key so that Github can authenticate to the production server:

ssh-keygen -t rsa -b 4096 -C "columbus-cli-rsync-github"

Add the private key as a secret from the repository setting with the DEPLOY_KEY name (Repository > Settings > Secrets > New secret).

2:

Write the action that triggers an rsync upon changes on the production branch. See .github/workflows/deploy.yml.

3:

Authorize the key on the server side to only execute rsync. Add in the ~/.ssh/authorized_keys:

command="rsync --server -vlogDtprc --delete . /var/www/wookiee.ch/public_html/columbus" ssh-rsa PUBLIC_SSH_KEY

4:

To make a deployment on the production server, update the production branch from master with git push origin master:production.

This process is semi-automatic, as we know it's hard to maintain a 100% safe master branch and it gives us more control on the deployment.

columbus-cli's People

Contributors

nkcr avatar dependabot[bot] avatar gnarula avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.