Code Monkey home page Code Monkey logo

copy-to-pi's Introduction

Copy to Pi

Work on your development PC so you don't have to worry about have the latest files on the networked Raspberry Pi

This assumes you are using a Windows PC and Samba, and have configured it to have a fileshare on the Raspberry Pi.

Every time the files change on your local device, they will be copied to the remote device.

If you use Visual Studio Code, autosave is enabled by default and updates after you finish typing.

The 'src' folder is used by convention, and is the working folder for your code. As long as your run the command > gulp from this root folder, your editor can open and edit any file in the src folder without the knowledge of this folder.

It does not delete files on the remote pi only copies and overwrites them at the moment.

This has been tested on windows using powershell

  1. install nodejs if not installed
  2. clone this repo to your local PC
  3. Open powershell in the root of this repo on your PC
  4. run the command > npm install
  5. edit the gulpfile.js on your pc to match your file locations
  6. run the command > gulp to copy all to your device

Once the repo has been cloned from Github you can remove the Git files if you want to, all you need to leave are the package.json, gulpfile.js, node_modules folder and the src folder.

copy-to-pi's People

Contributors

philstenning avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.