Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use buildscripts for CH deployment and update #171

Open
aaaaalbert opened this issue May 13, 2016 · 0 comments
Open

Use buildscripts for CH deployment and update #171

aaaaalbert opened this issue May 13, 2016 · 0 comments

Comments

@aaaaalbert
Copy link
Contributor

The clearinghouse codebase still uses a separate CH deployment/update script. We should retire this script, and move to a workflow that relies solely on the Seattle buildscripts and Git. The high-level plan would be something like this:

When you set up the CH, you'd

  • Install and configure the dependencies like Apache, MySQL/MariaDB, and Django,
  • Check out the CH repo,
  • Configure it (website/settings.py etc.),
  • Possibly commit your config locally,
  • Possibly push it to a secure backup location,
  • Run the buildscripts to
    • check out other Seattle dependencies and
    • deploy the CH.

Now when the CH or its Seattle dependencies are updated (see also #150),

  • Return to the directory where you initially checked out the CH repo,
  • Remove the DEPENDENCIES dir,
  • git pull whatever changes to the codebase; merge them as required,
  • Re-run the build scripts to deploy the updated CH into a fresh directory,
  • Finally replace the old deployment dir with the new one.

AFAICT, this should be a clean buildscript compatible way to update a deployed clearinghouse. Comments welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant