Any experience on deployment automation?



  • At coderdojo, we're using nodebb for forums, and a fork of cd-persona which is changing from time to time.
    We'd like to know if anybody had any experience in automation of deployment of themes/plugins, our main issue being that we need an automatic reload of the forum. Being circleCi + aws based for our dev pipeline, and AWS codedeploy not supporting a custom bash post-deployment, we're slightly stuck for the automation.
    Do you know of any plugin that would be a "theme/plugin-watcher"? Elsewhat I'd take any input/ideas/experience 🙂


  • Gamers

    I think you can use NPM for this. You can simply run "npm update" every time before starting the server. The positive thing about this, is that other packages can also be updated.

    If you host the theme at a (private) GIT repository or as tarball over HTTP, you can include the URL to these resources as dependency. An additional benefit of using GIT is that you can also merge changes to the persona team to your theme, which may make updates faster. How you can specify URLs to GIT repositories or tarballs is shown at this page.



  • Great idea, didn't think of npm update, thanks 🙂


Log in to reply
 


Looks like your connection to NodeBB was lost, please wait while we try to reconnect.