Git Product home page Git Product logo

Comments (22)

ananyo2012 avatar ananyo2012 commented on July 30, 2024 2

@RaiVaibhav Thanks for the suggestion. It works fine. Tested in #140

from inpycon2018.

realslimshanky avatar realslimshanky commented on July 30, 2024

@chirag200666 we need to manually pull changes we make on GitHub from the server.

from inpycon2018.

RatanShreshtha avatar RatanShreshtha commented on July 30, 2024

I would like to setup CI/CD for the website.

from inpycon2018.

ananyo2012 avatar ananyo2012 commented on July 30, 2024

Yes please go ahead. There is not much to do in CI but we are surely looking for CD so that the code is deployed once the PR is merged.

from inpycon2018.

RatanShreshtha avatar RatanShreshtha commented on July 30, 2024

@ananyo2012 I have opened a new PR regarding the issue please let me know if any updates are required.

from inpycon2018.

realslimshanky avatar realslimshanky commented on July 30, 2024

@RatanShreshtha please mention this issue number in your PR's description.

from inpycon2018.

RaiVaibhav avatar RaiVaibhav commented on July 30, 2024

@ananyo2012 can we use just netlify for CI ? instead setting travis and all.

from inpycon2018.

RaiVaibhav avatar RaiVaibhav commented on July 30, 2024

here is a example https://pyconindia2018.netlify.com/

I will delete the site after everyone suggestion, I just build it on my fork.

cc @realslimshanky @RatanShreshtha

from inpycon2018.

RaiVaibhav avatar RaiVaibhav commented on July 30, 2024

Just change it to deploy all the branches and it will deploy on every PR, so everytime if any one make new changes in a PR, anyone can preview it easily.

from inpycon2018.

ananyo2012 avatar ananyo2012 commented on July 30, 2024

from inpycon2018.

RaiVaibhav avatar RaiVaibhav commented on July 30, 2024

@ananyo2012 I didn't get, is there any problem in setting up the page on netlify, or there is some other problem, please correct me. The link https://pyconindia2018.netlify.com/ is working fine for me

from inpycon2018.

ananyo2012 avatar ananyo2012 commented on July 30, 2024

from inpycon2018.

ananyo2012 avatar ananyo2012 commented on July 30, 2024

@RaiVaibhav I will look into netlify and see if it works for us.

from inpycon2018.

RaiVaibhav avatar RaiVaibhav commented on July 30, 2024

Following are the steps to deploy netlify on your inpycon2018 repository :

  • Signup on netlify.
  • Click on New site from Git.
  • Choose Git provider (Github) > Choose a repository < username >/inpycon2018.
  • Branch to deploy master.
  • Basic build settings :
    • None, no need to do anything here.
  • Click on Deploy Site to deploy the site.

After that it will deploy your site with some random site name, to correct it got to sites then choose
your site, after that click on it then go to Domain settings > custom-domains block add you site-name whatever you want
Then go to site settings> Build and Deploy > Edit Settings > Branch deploys select All

Hoping this will save your time and help you in setting up. :)

from inpycon2018.

ananyo2012 avatar ananyo2012 commented on July 30, 2024

@RaiVaibhav We don't actually want to host it on netlify since we already have a server where we have deployed the website. We want to setup a deployment script that will run after the PR is merged.

from inpycon2018.

RaiVaibhav avatar RaiVaibhav commented on July 30, 2024

@ananyo2012 it's not like hosting thing, it's just like a CI/CD, which will run and deploy everytime whenever someone open a PR for changes.

from inpycon2018.

RaiVaibhav avatar RaiVaibhav commented on July 30, 2024

It's like a CI/CD for preview the changes in sites,

from inpycon2018.

ananyo2012 avatar ananyo2012 commented on July 30, 2024

from inpycon2018.

ananyo2012 avatar ananyo2012 commented on July 30, 2024

from inpycon2018.

RaiVaibhav avatar RaiVaibhav commented on July 30, 2024

@ananyo2012 have a look coala/coala#5502 it is like I opened a PR then it will auto deploy (no manual trigger) and generate a preview of site with changes made in PR

Also will it generate preview on separate links for every PR merged?

For each it will generate a separate link which any can see it as it will be added as a Github Hook ( on the check row of github page)

from inpycon2018.

ananyo2012 avatar ananyo2012 commented on July 30, 2024

@RaiVaibhav Got it now. This is really useful. Will set it up using the steps you provided.

from inpycon2018.

ananyo2012 avatar ananyo2012 commented on July 30, 2024

Closing this as we are in the final lap. Netlify works good for PR changes. Should set this at the very beginning for next PyCon Websites.

from inpycon2018.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.