jupyterhub / jupyterhub-deploy-teaching

Reference deployment of JupyterHub and nbgrader on a single server
http://jupyterhub-deploy-teaching.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
246 stars 85 forks source link

Migrate structure from CP data301 #70

Open willingc opened 7 years ago

willingc commented 7 years ago

@ellisonbg's enhancements with Makefile and consolidating the configuration parameters to essentially one file greatly simplifies the installation process.

ellisonbg commented 7 years ago

What I found in using this repo was that I needed some things to be outside the repo and not version controlled:

Because of this I have found it most useful to have an outer repo (separate from this one) that includes this repo as a submodule. That outer repo has the host config, host vars, security stuff and a Makefile that copies those things into place into the ansible setup and then runs ansible.

Part of this is that I need an easy way to completely update and reset the ansible config separately from my deployment specific details. Because of that I think it is best for us to keep the Makefile out of this repo. Some options:

  1. Create a cookiecutter that has that outer stuff and includes the ansible deployment stuff as a git clone or submodule
  2. Create a separate repo that does the same thing.

I almost think that the cookie cutter idea would work well in this case though...

Thoughts?

On Sat, Jan 14, 2017 at 11:17 AM, Carol Willing notifications@github.com wrote:

@ellisonbg https://github.com/ellisonbg's enhancements with Makefile and consolidating the configuration parameters to essentially one file greatly simplifies the installation process.

  • Migrate Makefile
  • Migrate example configuration file for testing

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/jupyterhub/jupyterhub-deploy-teaching/issues/70, or mute the thread https://github.com/notifications/unsubscribe-auth/AABr0LNcHkwvA_H8NYSzgd70WvjDTG7Pks5rSR9ngaJpZM4Ljtve .

-- Brian E. Granger Associate Professor of Physics and Data Science Cal Poly State University, San Luis Obispo @ellisonbg on Twitter and GitHub bgranger@calpoly.edu and ellisonbg@gmail.com

willingc commented 7 years ago

Great feedback Brian.

I like the cookie cutter idea.

zonca commented 7 years ago

+1 for a cookiecutter template