/alot

A Library of Things

Primary LanguageTypeScript

A Library of Things (aLoT)

A Library of Things allows its users to keep an inventory of their possessions and share them with other users of this application. It was significantly inspired by Auckland Library of Tools.

This is very much a work in progress. This readme will be updated when it has some functionality and how to use it.

aLoT is a p2p application that uses Holochain for its backend and Vue.js for its frontend.

Prerequisites

  1. Node.js v12+ installed.
  2. A working Holochain development environment. This tutorial might be helpful in setting yours up.

Setup

  1. After cloning this repo:

    cd alot/ui
    npm install
    npm run serve
    
  2. In a new terminal window:

    cd alot
    nix-shell .
    cd service
    CARGO_TARGET_DIR=target cargo build --release --target wasm32-unknown-unknown
    hc dna pack workdir/dna
    hc app pack workdir/happ
    hc sandbox generate workdir/happ/ --run=8888 --app-id=alot-app
    
  3. Navigate to http://localhost:8080 and click the button. You should be greeted with a friendly message.

That's all for now.