Skip to content

Instantly share code, notes, and snippets.

@tuuzdu
Last active November 11, 2018 21:27
Show Gist options
  • Save tuuzdu/6ee7e315e4258208486021e7b7b58f93 to your computer and use it in GitHub Desktop.
Save tuuzdu/6ee7e315e4258208486021e7b7b58f93 to your computer and use it in GitHub Desktop.
Nix
AIRA development cheatsheet
Status of the system
Journals
journalctl -u ipfs -f
journalctl -u parity -f
journalctl -u lighthouse -f
IPFS peers
ipfs pubsub peers airalab.lighthouse.0.robonomics.eth
Lighthouse logs
tail -f /var/lib/lighthouse/.ros/log/latest/lighthouse-lighthouse-6.log
Lighthouse development
Stop the service
systemctl stop lighthouse
Run in ROS workspace
cd aira/airapkgs
nix-build -A robonomics_dev
source result/setup.bash
mkdir ~/ws/src -p && cd ~/ws/src && catkin_init_workspace
git clone https://github.com/airalab/robonomics_comm
cd ..
nix-shell -p gcc
catkin_make
exit
setup devel/setup.bash
roslaunch robonomics_lighthouse lighthouse.launch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment