jameshclrk / pyhpc.github.com

pyHPC homepage

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pyhpc.org

This repository contains the landing page and blog for the pyhpc.org.

Contributing

Currently the website is a set of static pages generated by Pelican. The generated content is uploaded to github. Contact Andy Terrel to get things updated.

Please feel free to contribute in what ever capacity you feel best.

Here are a few ways you can contribute:

Add news item

$ git clone git@github.com:aterrel/pyhpc.github.com
Cloning into 'conference.scipy.org'...
remote: Counting objects: 74, done.
remote: Compressing objects: 100% (68/68), done.
remote: Total 74 (delta 3), reused 73 (delta 2)
Receiving objects: 100% (74/74), 248.52 KiB | 0 bytes/s, done.
Resolving deltas: 100% (3/3), done.
Checking connectivity... done
$ cd pyhpc.github.com
$ git checkout source
  • Create a new branch with the name of your news item.

  • Add your news item in content/news, see Pelican docs for details can be rst or markdown. An exmple below:

$ cd content/news
$ cat << EOF > 2013-10-25-test.md
> Title: Test
> Date: 2013-10-25
> Comments: true
> Categories: 
> Author: Andy R. Terrel <andy.terrel@gmail.com>
> Summary: Testing
> 
> Testing how this works!
> 
> EOF

Add or edit a page

$ git clone git@github.com:pyHPC/pyhpc.github.com
$ cd pyhpc.github.com
$ git checkout source
  • Editting pages:

    • The content of the page can be found in the content directory
$ cd content; ls
 images news pages pdf
* images and pdf: static content to be copied,
* news: the markdown blog like pages,
* pages: the set of pages to be displayed
  • To add a new post, add a file to the news, see pelican docs for the page issues:

  • Generating and viewing changes

    • Now go to the top dir and regenerate site:
$ cd ../../
$ make html
  • To view it locally:
$ make serve
< open browser to http://127.0.0.1:8000 >
( you should see your test page in the News and archives )
< Ctrl-C to exit server on terminal >
  • To modify a page edit inside the pages content
$ cd content/pages
$ vi 2013_detail.md
  • Once again go to top and make it and view
$ cd ../.. && make html && make serve
  • To edit the layout see thing inside the theme
$ ls theme
tuxlite_zfs
  • Be sure to check in your changes and push
$ git add <files changed>
$ git commit -m “<Describe changes>”
$ git push origin <branch-name>

About

pyHPC homepage


Languages

Language:JavaScript 51.7%Language:HTML 24.4%Language:CSS 16.1%Language:Jupyter Notebook 7.5%Language:PHP 0.2%