diff --git a/docs/build/man/installation.md b/docs/build/man/installation.md index b03ead21906cdfeb9fb16032865a492f5a08fdf0..0264da275f3f61b3b32c8a0012619af41c16b728 100644 --- a/docs/build/man/installation.md +++ b/docs/build/man/installation.md @@ -143,7 +143,7 @@ To setup automatic start of Julia server on the BBB, make sure to have completed ``` ssh debian@192.168.7.2 -sudo cp -r /home/debian/juliapackets/LabConnections/src/BeagleBone/startup/juliaserver.service /lib/systemd/system/juliaserver.service +sudo cp -r /home/debian/juliapackages/LabConnections/src/BeagleBone/startup/juliaserver.service /lib/systemd/system/juliaserver.service ``` @@ -159,12 +159,7 @@ sudo systemctl start juliaserver After a while, the BBB should start blinking onboard LED 2 in the following pattern: on-off-on-sleep-repeat. This indicates that the server on the BBB is now running, and server should now start automatically every time you restart the BBB. With this setup ready, you should be able to run the examples in the `/Examples` folder from the host computer. -<a id='Debugging-1'></a> - -## Debugging - - -No errors will be seen on the BeagleBone when the automatic startup is used. For debugging purposes it might be useful to start the service manually on the beagle bone. Start julia as root: +Note that no errors will be seen on the BeagleBone when the automatic startup is used. For debugging purposes it can also be useful to start the service manually on the BBB. To do this, start Julia as root on the BBB ``` @@ -172,7 +167,7 @@ sudo /home/debian/julia/bin/julia ``` -and run the startup script: +and then run the startup script ``` diff --git a/docs/src/man/installation.md b/docs/src/man/installation.md index 3fd452085292427046a4a8e06aa9de493191bf17..b96ab0eafdcc450fc6992042c1afc625f924de09 100644 --- a/docs/src/man/installation.md +++ b/docs/src/man/installation.md @@ -70,7 +70,7 @@ This scripts bundles the current code in LabConnections.jl and serbus on the hos To setup automatic start of Julia server on the BBB, make sure to have completed all prior installation instructions, and that the latest revision of the LabConnections package is located on the BBB. SSH into the BBB, and copy the file `juliaserver.service` to the folder `systemd/system` ``` ssh debian@192.168.7.2 -sudo cp -r /home/debian/juliapackets/LabConnections/src/BeagleBone/startup/juliaserver.service /lib/systemd/system/juliaserver.service +sudo cp -r /home/debian/juliapackages/LabConnections/src/BeagleBone/startup/juliaserver.service /lib/systemd/system/juliaserver.service ``` Then, still SSH:d into the BBB, execute the commands ``` @@ -79,20 +79,11 @@ sudo systemctl start juliaserver ``` After a while, the BBB should start blinking onboard LED 2 in the following pattern: on-off-on-sleep-repeat. This indicates that the server on the BBB is now running, and server should now start automatically every time you restart the BBB. With this setup ready, you should be able to run the examples in the `/Examples` folder from the host computer. -## Debugging - - -No errors will be seen on the BeagleBone when the automatic startup is used. For debugging purposes it might be useful to start the service manually on the beagle bone. Start julia as root: - - +Note that no errors will be seen on the BeagleBone when the automatic startup is used. For debugging purposes it can also be useful to start the service manually on the BBB. To do this, start Julia as root on the BBB ``` sudo /home/debian/julia/bin/julia ``` - - -and run the startup script: - - +and then run the startup script ``` include("/home/debian/juliapackages/LabConnections/src/BeagleBone/startup/startup.jl") ```