Skip to content

DevNotes_Processeses_WebPageInstructions

Jeff Krzywon edited this page Mar 20, 2020 · 15 revisions

How to update the web pages

The SasView web pages while not strictly managed by a Content Management System such as WordPress or Drupal, operate on the same principal of separating the content editing from the site programming. To add or change content, the markdown (.md) files should be modified. Any exceptions to this rule should be noted in this page.

Overview

The sasview.org web pages are hosted on GitHub at ​https://github.com/SasView/sasview.github.io. To edit the pages, you must be a member of the web team. Once you are given editing privileges, check out the repository like you would any other git repository. As changes are made to GitHub, the website changes will automatically go live.

Editing a basic page

To Be Updated

Adding a news item to the front page

To Be Updated

Adding a new page to the menu

To Be Updated

Editing the list of publications

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

Git Tutorial

Git tools that are available include:

  • 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

*The command line examples shown here make a few assumptions about your setup. If they do not work you should look into your git documentation.

Clone this wiki locally