Coder Social home page Coder Social logo

holochainer-vs-code-plugin's Introduction

Holochainer-vs-code-plugin

Vscode plugin for holochain RSM 0.0.1

This plugin uses the directory and file structures defined in https://hackmd.io/rNCiNe_zQ7aT3oKEl8UCqQ / HolochainGym (https://holochain-gym.github.io/developers/basic/entries/)

Follow the document to setup holochain and nix.

Installation

Install the extension in vscode

Features

Command palette commando's

Enter the nix-shell (nix-shell .)

 Holo nix shell

Creates a default.nix file in the root dir

 Holo nix create

Compiles wasm (CARGO_TARGET_DIR=target cargo build --release --target wasm32-unknown-unknown)

 Holo Compile wasm

Build the dna file (hc dna init)

 Holo dna init

Package the WASM into a DNA file (hc dna pack)

 Holo dna pack

Unpack the parts of .dna file out into a directory. (hc dna unpack)

 Holo dna unpack

Create a new, empty Holochain app (hApp) working directory (hc app init)

 Holo app init

Pack the contents of a directory into a .happ bundle file. (hc app pack)

 Holo app pack

Unpacks the parts of .happ file out into a directory. (hc app unpack)

 Holo app unpack

Initializes typescript tests

 Holo tests init

Initialize the zomes working directory

 Holo zomes init

Deploy the hApp to a local sandbox Holochain by running this in your nix-shell (hc sandbox generate)

Holo sandbox generate

Installs the conductor-api into the directory the user currently is in (npm install @holochain/conductor-api)

Holo install npm package holochain/conductor-api

Explorer

Zome create - Right-click on a folder the item 'Create a new zome' will pop up.

holochainer-vs-code-plugin's People

Contributors

bremms avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  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.