kmurf1999 / django-react-boilerplate

MIT License
4 stars 1 forks source link

break up project into submodules to enable deployment into infrastructure such as Google Kubernetes as well as Docker Swarm. #4

Open casibbald opened 7 years ago

casibbald commented 7 years ago

I would like to split up the project into multiple repositories.

  1. Docker - nginx
  2. Docker - Postgres
  3. Docker - Waggle
  4. Docker - Webpackdev

Move Docker - Django to the top part of the project.

Build the submodules as Docker Hub projects that can be pulled in for Kubernetes.

Enable docker submodules to be built when run locally with docker compose build.

Enable Kubernetes Helm Charts for deployment to any cluster (Local minikube, GKE, etc)

Please advise how we can liaise on these changes? Drop me a mail? my address is git hub name @gmail.com

kmurf1999 commented 7 years ago

Charles, I am glad you are enthusiastic about the project. In the coming week I am going to be very busy so I will not be able to do any work on the repo. If you think that these changes would aid in deployment, then go for it and I will happily merge the code.

casibbald commented 7 years ago

Fantastic, Please can you create the following:

ruffers9/django-react-nginx ruffers9/django-react-postgres ruffers9/django-react-waggle ruffers9/django-react-webpackdev

casibbald commented 7 years ago

ruffers9/django-react-deployment

ahlusar1989 commented 7 years ago

@casibbald In addition to Kubernetes, is it possible that you and I can tag team on deployment to AWS or Azure?

casibbald commented 7 years ago

I started looking at packaging for helm charts on k8s.

AWS to instances or k8s?

On 11 Aug 2017, at 20:05, Saran Ahluwalia notifications@github.com wrote:

@casibbald https://github.com/casibbald In addition to Kubernetes, is it possible that you and I can tag team on deployment to AWS or Azure?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ruffers9/django-react-boilerplate/issues/4#issuecomment-321894594, or mute the thread https://github.com/notifications/unsubscribe-auth/AAHhb7Tq89XO-5EavdAR8Bu55_KkqAxOks5sXKXzgaJpZM4Owk2i.

ahlusar1989 commented 7 years ago

@casibbald The former.

kmurf1999 commented 7 years ago

I am unfamiliar with docker swarm and kubernetes. I was going to make a deployment doc on deploying to digital ocean (the hosting service I use) on ubuntu 14 and 16. If you guys would like to work on other forms of deployment and fork the project that is more than welcome.

casibbald commented 7 years ago

Would be ideal if we can get all this in the base project. Fragmentation is the demiser of projects

Sent from my iPhone

On 12 Aug 2017, at 02:52, Kyle Murphy notifications@github.com wrote:

I am unfamiliar with docker swarm and kubernetes. I was going to make a deployment doc on deploying to digital ocean (the hosting service I use) on ubuntu 14 and 16. If you guys would like to work on other forms of deployment and fork the project that is more than welcome.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

casibbald commented 7 years ago

Deployment options: Docker-compose [done] K8s App engine Digital ocean Heroku

I am not sure there is any value in options other than these as they would be expensive.

Sent from my iPhone

On 12 Aug 2017, at 02:52, Kyle Murphy notifications@github.com wrote:

I am unfamiliar with docker swarm and kubernetes. I was going to make a deployment doc on deploying to digital ocean (the hosting service I use) on ubuntu 14 and 16. If you guys would like to work on other forms of deployment and fork the project that is more than welcome.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

ahlusar1989 commented 7 years ago

@ruffers9 @casibbald I too am not familiar with kubernetes. However I will be happy to work on the Heroku piece, since @casibbald will be working on the DigitalOcean version. The reason why I think that AWS is another good option, is because I am certain that many developers who work within the confines of AWS services or Azure would see benefit from this.

kmurf1999 commented 7 years ago

I know how to deploy to digital ocean without the use of docker because that is what I have done for another site. We should keep it all in one project, I agree. Weren't you talking about splitting it up though @casibbald

kmurf1999 commented 7 years ago

I will be looking more at kubernetes for deployment. It looks very good, I just don't know how to use it

casibbald commented 7 years ago

By splitting it up, we need the docker components that are not Django to be built and ready so that when we deploy the ‘Django/JS’ bits its into those docker containers.

Helm charts are great for Kubernetes and Google is currently offering $300 free credit for you to learn their platform.

On 12 Aug 2017, at 19:10, Kyle Murphy notifications@github.com wrote:

I will be looking more at kubernetes for deployment. It looks very good, I just don't know how to use it

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ruffers9/django-react-boilerplate/issues/4#issuecomment-321997006, or mute the thread https://github.com/notifications/unsubscribe-auth/AAHhb1BPAnqCQC1CKYRTrqvAheToXVnFks5sXep8gaJpZM4Owk2i.

kmurf1999 commented 7 years ago

Actually I think I will start working on deployment via docker swarm as well as writing unit tests. Right now I am having a problem writing unit tests for the forms because of Material Design Components