Skip to content

Latest commit

 

History

History
21 lines (18 loc) · 1.34 KB

setting-up-inpycon-2020.md

File metadata and controls

21 lines (18 loc) · 1.34 KB

Setting up the server for deployment

Hello organisers of PyCon India 2020! I hope this document helps you get up to speed next year.

To get started with deploying the website, you'll have to follow these steps(more or less):

  • Get access to the remote server. Get in touch with me or one of the organisers and we will help you out with this.
  • Configure the remote server to serve the website. This has to be done at the magudi repo. Here is a sample PR that you can use.
  • Use the steps here here to configure Travis to automatically deploy changes. You can refer to this PR.
  • In the inpycon2019 repo, during the CI job, we build the site and push the built files into the gh-pages branch. magudi is also configured to serve gh-pages instead of master. It is recommended to log into the remote server and switch to gh-pages branch once before the CI setup is merged to avoid merge conflicts.
  • To manually deploy, ssh into the server and run provision.
  • In addition to deploying the site, the provision command also updates magudi in the remote server.