Comments (22)
@RaiVaibhav Thanks for the suggestion. It works fine. Tested in #140
from inpycon2018.
@chirag200666 we need to manually pull changes we make on GitHub from the server.
from inpycon2018.
I would like to setup CI/CD for the website.
from inpycon2018.
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.
@ananyo2012 I have opened a new PR regarding the issue please let me know if any updates are required.
from inpycon2018.
@RatanShreshtha please mention this issue number in your PR's description.
from inpycon2018.
@ananyo2012 can we use just netlify for CI ? instead setting travis and all.
from inpycon2018.
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.
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.
from inpycon2018.
@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.
from inpycon2018.
@RaiVaibhav I will look into netlify and see if it works for us.
from inpycon2018.
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.
@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.
@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.
It's like a CI/CD for preview the changes in sites,
from inpycon2018.
from inpycon2018.
from inpycon2018.
@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.
@RaiVaibhav Got it now. This is really useful. Will set it up using the steps you provided.
from inpycon2018.
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)
- Improve Website load performance HOT 13
- Make Schedule code DRY HOT 4
- Favicon is not visible HOT 3
- Incorrect heading for Workshop Schedule HOT 4
- Fixing the sponsor section UI HOT 3
- FAQ: Related to workshop. HOT 2
- Keynote dropdown under Speaker has a weird blue background HOT 14
- Spelling error in index HOT 4
- the pycon india logo is not aligned whenever screen size is reduced HOT 5
- wrong button is highlighted in navigation bar HOT 1
- Error 404 page not found HOT 2
- Speakers images are not loading HOT 2
- couldn't see social icons in speakers page HOT 2
- Make Sponsors writeup
- Make Sponsors writeup HOT 1
- Adjust sponsor dimensions for mobile screen view HOT 2
- Add a Local attractions page under Attend section
- Add Sponsor Workshop to schedule
- Add a page for workshop prerequisites and description HOT 6
- Sponsor information missing HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from inpycon2018.