Scaffolding tool for the Holochain rust version. (Still in Development phase).
The stack consists of:
- Backend: Express server communicating with the terminal
- Front-end: React JS served by react development server.
The Express app uses node-cmd to allow for commandline or terminal interface and run cli or bash style commands.
These instructions will get you a copy of the project up and downloads necessary files on your local machine for running the app.
- Clone the repository on your local machine
https://github.com/HoloDen/HCScaffolding_Rust.git
- Install necessary dependencies for the app
npm install
For running the application locally in your browser run the following command.
npm run scaffold
The app is served at http://localhost:3005/.
For running the application natively on your local machine run the following command.
npm run elec-scaffold
The app will automatically run in a new window.
Backend can be started by the following command.
npm run server
The backend is served at http://localhost:3005/.
For running front-end with hot-reloading and proxy to backend, run the following command.
npm run start
The front-end is served at http://localhost:3000/.
Created by Shivendran and dLee.