Skip to content

Source code of the charmplusplus.org website

Notifications You must be signed in to change notification settings

charmplusplus/charmplusplus.github.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The charmplusplus.org website

See also https://wiki.illinois.edu/wiki/display/ppl/Deploy+the+charmplusplus+website.

This is for deploying the charmplusplus website (http://charmplusplus.org/) which is hosted on the machine "charm".

Building the website

Steps to obtain a local copy of the website for updating:

  • Check out the source code:

    $ git clone https://github.com/UIUC-PPL/charmplusplus.org
    
  • Install the required gems:

    $ gem install nanoc adsf
    
  • Compile the website (anytime you make changes):

    $ cd charmplusplus.org
    $ var/lib/gems/1.8/bin/nanoc compile
    

Note that the directory where the nanoc executable is stored may be different than this.

  • Start a local server (port will print to screeen):

    $ /var/lib/gems/1.8/bin/nanoc view
    

From here you can access the website by accessing http://localhost:PORT/.

Editing the content

  • Change directory to content
  • Edit the html
  • Recompile the website to generate the new set of static pages

Deploy

After compiling the webpage with nanoc, just push the changes to the master branch on GitHub and the website will automatically be deployed after a few minutes.

About

Source code of the charmplusplus.org website

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages