Create a New App

These are the commands you will need when creating a new application.

Initialize a new app

Make sure you have completed the Install Guide.

Enter the nix-shell

nix-shell https://holochain.love

Run in nix-shell https://holochain.love

hc init my_new_app

Run from project root

Tip

The following commands should all be run from the project root (e.g., my_new_app/).

cd my_new_app

Generate a new Zome

Run in nix-shell https://holochain.love

hc generate zomes/my_zome rust-proc

Package an app

Run in nix-shell https://holochain.love

hc package

Run a testing Holochain conductor

Run in nix-shell https://holochain.love

hc run

Run in nix-shell https://holochain.love

hc test

Run a Holochain conductor

You will need to create a config file. See the hello_world tutorial for an example.

Run in nix-shell https://holochain.love

holochain -c conductor-config.toml

Learn more

Run in nix-shell https://holochain.love

hc help 
holochain --help 

Was this helpful?