export CVS_RSH=ssh cvs -d :ext:username@www.neuron.yale.edu:/home/cvsroot/ checkout nrnwwwIf the username is anonymous, the CVS_RSH must be a small shell script that allows you to use a read-only version of the cvs server. See how2cvs.html for further information.
To view the pages install an apache server. On our public web site, the DocumentRoot is /home/htdocs, nrnwww was checked out with -d neuron, and the /home/htdocs/index.html redirects to the neuron/index.html file.
nrnwww/chklink.sh will print all dangling links from http://www.neuron.yale.edu but will not currently verify that the ftp links exist. To carry out its work, chklink.sh will mirror the site in your cwd under the subdirectory name www.neuron.yale.edu .
There are quite a few explicit urls involving http://www.neuron.yale.edu that can be changed to another machine via
grerep 'http://www.neuron.yale.edu' 'http://somewhere.else'
cvs -d :ext:username@www.neuron.yale.edu:/home/cvsroot/ checkout nrnhelpThis is all the files of the original web site but now only the help and refman directories continue to be used in the current site. The html files are constructed from the hel files by
cd nrnhelp/help ./makedict.sh # creates dict file that maps keywords to pages ./makecontents.sh # http://www.neuron.yale.edu/neuron/docs/help/hier.html ./allh2h # uses several scripts to translate .hel to .html and .hoc examples sh quick_reference_maker.sh 0 0 # Mike Neubig's easier to use index. cd .. ./ziphelp.sh # creates help.zipExtract help.zip when your cwd is http://www.neuron.yale.edu/neuron/docs. That will create help and refman subdirectories for docs.
If working on a single file.hel or single directory, then instead of ./doall use ./doone neuron/.../file or ./doone neuron/...