Skip to content

DevNotes_Processeses_WebPageInstructions

Paul Butler edited this page Mar 20, 2020 · 15 revisions

How to update the webpages

The first thing to understand about the SasView webpages is that while it is not strictly managed by a Content Management System such as WordPress or Drupal, it does operate on the same principal of separating the content editing from the site programming including layout, styling,sections etc. For those adding content ONLY the markdown files should be touched .. and then not all of those - see below.

Overview

Check out web pages from from GitHub* at ​https://github.com/SasView/sasview.github.io . This can be done with

  • Eclipse (or some other IDE)

  • GUI git (like tortoiseGit for example) - this will require having valid credentials. In principle this is not required for check out but will make checking in much simpler.

  • Command line git**. For this type:

    $ git clone https://github.com/SasView/sasview.github.io.git
    

If you already have the repo locally you just need to update the repo

$ git fetch origin

Once the changes are made they should be staged and committed. If using the command line:

$ git commit -a -m 'commit comment'

Finally, the commit will need to be pushed up to GitHub from the local repo. Again if using the command line

$ git push origin master

Once the GitHub repo is updated, the website changes will automatically be live.

*If you want to edit the publications page, please read the publications web page instructions.

**The above command line makes a few assumptions about your setup. If they do not work you should look into git documentation.

Clone this wiki locally