Closed ananyo2012 closed 3 years ago
@ananyo2012, I hope you have factored in the cost of Netlify as well. The free plan only allows 300 build minutes per month.
@astronomersiva Added it to the list of Disadvantages. We can calculate the costs involved and decide. There maybe ways to build in CI and push the dist to Netlify. Need to explore on that.
We want to move to Netlify for the static websites + blog and move away from the present PyCon India Server.
We did not decide on moving it bdw, it's just an experiment.
Lesser things to manage from the server
We would still need to have rewrite rules on nginx.
Remove confusion with deployment from magudi for website/blog which had more frequent changes than junction
I don't remember any discussion regarding "confusion with deployment"
Access to PyCon India Domain provider account used to register pycon.afrost.org which is currently linked to in.pycon.org
Can you please elaborate a bit on the point?
Move to git sub-modules architecture for blog and website
This is unrelated and independent issue bdw.
We want to move to Netlify for the static websites + blog and move away from the present PyCon India Server.
We did not decide on moving it bdw, it's just an experiment.
Thought to start the discussion related to that
Lesser things to manage from the server
We would still need to have rewrite rules on nginx.
Are you intending to deploy on Netlify and have redirect rules on server to point to the blog ?
Remove confusion with deployment from magudi for website/blog which had more frequent changes than junction
I don't remember any discussion regarding "confusion with deployment"
I added this point to account for the present dependence of deployment of website over magudi. There is no CD happening and everytime it needs to be manually deployed.
Access to PyCon India Domain provider account used to register pycon.afrost.org which is currently linked to in.pycon.org
Can you please elaborate a bit on the point?
As per my understanding moving to a new deployment platform meant CNAMing it to the domain provider, but as per your 2nd comment you want to do it via redirect rules if I understood correctly ?
Move to git sub-modules architecture for blog and website
This is unrelated and independent issue bdw.
Website and blog are similar thing and I think if we are planning to use submodules then we can integrate both together.
Lesser things to manage from the server
We would still need to have rewrite rules on nginx.
Are you intending to deploy on Netlify and have redirect rules on server to point to the blog ?
I don't think we need to write any rules on nginx. It's a static site. Can directly connect to netlify host via CNAME. Same goes for blog I believe. For junction, we'd still need server though.
I don't think we need to write any rules on nginx. It's a static site. Can directly connect to netlify host via CNAME. Same goes for blog I believe. For junction, we'd still need server though.
How do you CNAME https://in.pycon.org/blog
to https://project-url.netlify.app
?
cc: @ananyo2012 @anistark
@palnabarun You just need to build the project in a blog
directory under the output
folder. Then everything will be visible under /blog
domain.
@ananyo2012 Well, you are thinking only about the blog here and not other components. Think it through once considering everything that we deploy under that subdomain.
Well we don't intend to move everything under the subdomains to Netlify. Just the static components.
On Mon, 25 May, 2020, 9:25 PM Nabarun Pal, notifications@github.com wrote:
@ananyo2012 https://github.com/ananyo2012 Well, you are thinking only about the blog here and not other components. Think it through once considering everything that we deploy under that subdomain.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/pythonindia/inpycon2020-tasks/issues/42#issuecomment-633632478, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACQAER7GCLDLSX3V7RXBS2TRTKIGNANCNFSM4NIQMV4A .
Exactly! That's what I have been trying to say along.
How would you CNAME then?
So my idea was to deploy the static components in Netlify that would be Website and blog keep them under subfolder setup. Then CNAME the netlify domain to the PyCon India domain.
Keep the CFP website in the server under /cfp
url which is CNAMEd to
PyCon India domain as well.
Is this setup possible ?
On Mon, 25 May, 2020, 10:04 PM Nabarun Pal, notifications@github.com wrote:
Exactly! That's what I have been trying to say along.
How would you CNAME then?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/pythonindia/inpycon2020-tasks/issues/42#issuecomment-633645430, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACQAER7UPJ7FMWUJVI7G6V3RTKM2PANCNFSM4NIQMV4A .
I just searched regarding this and found we can't have multiple CNAMEs for a domain. Ref: https://serverfault.com/questions/574072/can-we-have-multiple-cnames-for-a-single-name
On Mon, 25 May, 2020, 11:14 PM Ananya Maiti, ananyoevo@gmail.com wrote:
So my idea was to deploy the static components in Netlify that would be Website and blog keep them under subfolder setup. Then CNAME the netlify domain to the PyCon India domain.
Keep the CFP website in the server under
/cfp
url which is CNAMEd to PyCon India domain as well.Is this setup possible ?
On Mon, 25 May, 2020, 10:04 PM Nabarun Pal, notifications@github.com wrote:
Exactly! That's what I have been trying to say along.
How would you CNAME then?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/pythonindia/inpycon2020-tasks/issues/42#issuecomment-633645430, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACQAER7UPJ7FMWUJVI7G6V3RTKM2PANCNFSM4NIQMV4A .
I just searched regarding this and found we can't have multiple CNAMEs for a domain.
I would have Google'd it for you, otherwise. :)
My next question is redirect to a different domain have any drawbacks ?
On Tue, 26 May, 2020, 12:31 AM Nabarun Pal, notifications@github.com wrote:
I just searched regarding this and found we can't have multiple CNAMEs for a domain.
I would have Google'd it for you, otherwise. :)
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/pythonindia/inpycon2020-tasks/issues/42#issuecomment-633686192, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACQAER45B7JZFUSIZ56UDUDRTK6CPANCNFSM4NIQMV4A .
We want to move to Netlify for the static websites + blog and move away from the present PyCon India Server. Advantages
Disadvantages
Requirements
pycon.afrost.org
which is currently linked toin.pycon.org