Sources for the traits.js website.
To run locally: jekyll serve
To update the traits.js repo:
- After
git clone/git pull, dogit submodule initandgit submodule update - Then
cd traits.js - and
git checkout master. - Now you can do
git pull. - To save your update, do
cd ..andgit commit traits.js -m "updated traits.js"
If you do work in the traits.js submodule:
Setup:
- Make sure you have at least git 2.7 - see ---recurse-submodules
- Setup your config to push work in
traits.jssubmodule:git config push.recurseSubmodules traits.js
From here on after
3. cd traits.js and do some work.
4. git commit -am "[your message]"
5. git push from traits.js-website/
If you do work in the traits.js submodule and you can't use git 2.7 then you have to do all of this every time:
cd traits.js- Do work in
traits.js/ git commit -am "[your message]" && git pushcd ..git commit traits.js -m "updated traits.js"git push