Foxberry Pi Demo: Difference between revisions

Jump to navigation Jump to search
m
Line 49: Line 49:
== Set up your host for web development ==
== Set up your host for web development ==


Go to a folder you'd like to use for development.  We'll refer to that folder as <code>$dev</code>.  Run the following commands
Go to a folder you'd like to use for development on your host machine.  We'll refer to that folder as <code>$dev</code>.  Run the following commands


  cd $dev
  cd $dev
Line 57: Line 57:
This mounts a special filesystem on your host machine's <code>$dev/ffos</code> mount point.  The filesystem passes reads and writes through to your ''Raspberry Pi'''s <code>~/ffos</code> folder.  This allows you to develop code using your host computer's editor and without needing to explicitly synchronize files.  This is usually far more convenient than alternatives.
This mounts a special filesystem on your host machine's <code>$dev/ffos</code> mount point.  The filesystem passes reads and writes through to your ''Raspberry Pi'''s <code>~/ffos</code> folder.  This allows you to develop code using your host computer's editor and without needing to explicitly synchronize files.  This is usually far more convenient than alternatives.


Open the file <code>$dev/ffos/app/html/app.js</code> in your code editor.  If you can't open that file, something has gone wrong in your sshfs or RPi setup.
Open the file <code>$dev/ffos/app/html/app.js</code> in your code editor on the host machine.  If you can't open that file, something has gone wrong in your sshfs or RPi setup.


== Set up development circuit ==
== Set up development circuit ==
Confirmed users
699

edits

Navigation menu