Skip to content

Commit f5dceb0

Browse files
Create README.md
1 parent 6d8e54c commit f5dceb0

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

README.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# The charmplusplus.org website
2+
3+
See also https://wiki.illinois.edu/wiki/display/ppl/Deploy+the+charmplusplus+website.
4+
5+
This is for deploying the charmplusplus website (http://charmplusplus.org/) which is hosted on the machine "charm".
6+
7+
8+
## Building the website
9+
Steps to obtain a local copy of the website for updating:
10+
11+
- Check out the source code:
12+
13+
$ git clone https://github.com/UIUC-PPL/charmplusplus.org
14+
15+
- Install the required gems:
16+
17+
$ gem install nanoc adsf
18+
19+
- Compile the website (anytime you make changes):
20+
21+
$ cd charmweb
22+
$ var/lib/gems/1.8/bin/nanoc compile
23+
24+
- Start a local server (port will print to screeen):
25+
26+
$ /var/lib/gems/1.8/bin/nanoc view
27+
28+
From here you can access the website by accessing http://localhost:PORT/.
29+
30+
## Editing the content
31+
32+
- Change directory to `content`
33+
- Edit the html
34+
- Recompile the website to generate the new set of static pages
35+
36+
## Deploy
37+
38+
Copy the contents of the "output" folder to charm.cs.illinois.edu:/web/charmweb.

0 commit comments

Comments
 (0)