gotmyname2018 / startupdao

DAO creation and management Dapp on Solana blockchain

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

My Dapp

This project is for the Solana blockchain application StartupDAO. It contains code for the Smart Contract, web-based dapp and NodeJS server.

Pre-requisites

In order to develop and build StartupDAO, the following pre-requisites must be installed:

Dependency Checklist

$ node --version
$ npm --version
$ rustup --version
$ rustc --version
$ cargo --version
$ solana --version

Installation

Using a terminal (or command prompt), change to the folder containing the project files and type: yarn This will fetch all required dependencies. The process will take 1-3 minutes and while it is in progress you can move on to the next step.

Yarn Errors

You might see failures related to the node-gyp package when Yarn installs dependencies. These failures occur because the node-gyp package requires certain additional build tools to be installed on your computer. Follow the instructions for adding build tools and then try running yarn again.

Build, Deploy and Test

Using a terminal (or command prompt), change to the folder containing the project files and type: yarn start This will run all the dev scripts in each project package.json.

The first time you run yarn start there are a fair number of Rust libraries that are downloaded and pre-compiled. As a result, it may be take from 5-10 mins. before the dapp is compiled and launched the first time. On subsequent compilations, the build time will only be a few seconds.

File Locations

Here are the locations of some important files:

To view your dapp, open your browser to http://localhost:5000 for the DappStarter Workspace.

We ♥️ developers and want you to have an awesome experience. You should be experiencing Dappiness at this point. If not, let us know and we will help. Visit https://support.decentology.com or hit us up on Twitter @decentology.

Dependency Guides

This section contains installation guides for common dev environments.

Rust

(Source: Solana) We suggest that you install Rust using the 'rustup' tool. Rustup will install the latest version of Rust, Cargo, and the other binaries.

Follow the instructions at Installing Rust.

For Mac users, Homebrew is also an option. The Mac Homebrew command is brew install rustup and then rustup-init. See Mac Setup & Installing Rust for more details.

After installation, you should have rustc, cargo, & rustup. You should also have ~/.cargo/bin in your PATH environment variable.

About

DAO creation and management Dapp on Solana blockchain


Languages

Language:CSS 95.0%Language:JavaScript 4.4%Language:TypeScript 0.4%Language:HTML 0.2%Language:Rust 0.1%Language:Shell 0.0%