# Contribute to this tutorial

This tutorial is created using the VuePress (opens new window) static site generator. To contribute to the tutorial please let the site manager add you as a collaborator. Then, you can directly edit using the "Edit this page" link on each page. After the commit, the pages will be automatically re-built through Travis-CI (opens new window) (expecting a few minutes' delay).

Alternatively, you can write and build the tutorial on your own computer. You need to first install node.js and npm (e.g. on ubuntu (opens new window)). I recommend using nvm (opens new window) for better version control.

# Install dependencies


 
 
 

curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash # or newer versions
source ~/.bashrc
nvm install node
npm install
1
2
3
4

# Start writing

git clone https://github.com/czczc/wire-cell-tutorial
cd wire-cell-tutorial
npm run dev
1
2
3

Now start editing the markdown files, and you should see changes at http://localhost:8080/ . Once everything looks fine, you should commit the changes to GitHub and wait for Travis-CI to rebuild the site.