allhandsactive / drawit

A node.js app to take an image and render it as a line drawing
GNU General Public License v3.0
1 stars 1 forks source link

drawit

A node.js app to take an image and render it as a line drawing

macOS Install

From the terminal, do the following:

  1. Install homebrew: https://brew.sh/
  2. Install deps: brew install node potrace imagemagick
  3. Clone the repo: git clone git@github.com:allhandsactive/drawit.git and switch to the directory: cd drawit
  4. Install the node deps: npm install
  5. Install the python deps: pip3 install lxml
  6. Start the server: npm start
  7. Go to http://localhost:3000 to begin

TODO

Dependencies

systemd unit

Symlink or copy drawit.service to /lib/systemd/system and then enable and start. Assumes installation in /srv/drawit and a drawit user.