Create auto-deployment scripts for demo server

Issue #511 resolved
Ed McDonagh created an issue

At least with current develop branch deployed to server on successful completion of tests. Possibly another branch/all commits, probably do the same for demo.openrem.org with the master branch.

Useful notes:

Comments (37)

  1. Ed McDonagh reporter

    Hoorah, it works. Just need to add @dplatten's dummy data and give you all ( @tcdewit, @LuukO, @dplatten ) login details.

    • Every time develop branch is pushed to bitbucket and passes the tests, the latest commit is checked out to dev.openrem.org and the database is migrated and the webserver is restarted.
    • Every time a branch that ends in stage (eg issue1234whichIwantToTestNow-stage) is pushed to bitbucket and passes the tests, that commit is checked out to testing.openrem.org, database is migrated and webserver is restarted.
    • Any other branch that gets pushed to bitbucket just gets tested as normal.

    I'll also add https certificates when I get a chance.

  2. Ed McDonagh reporter

    Yes, though if you email me your public ssh key then I can give you access to log into the server...

  3. Ed McDonagh reporter

    Depends on your ssh client. You may never have generated them. On a linux box, you'll have a .ssh hidden folder in your home directory, and if you do a ssh-keygen you'll create yourself a private/public key pair. I wouldn't normally bother with a pass phrase. Same for bash/ubuntu on Windows 10. PuTTY is a little different. Generally the file we want will be something like id_rsa.pub.

  4. Ed McDonagh reporter

    @dplatten I've run up demo on the new server too. Does it need any further tweaking? You have the same david login as the other sites.

  5. David Platten

    @edmcdonagh, I would simplify the CT and radiographic system display names a little otherwise it's good to go. Thanks.

  6. Log in to comment