Skip to content
This repository was archived by the owner on Sep 20, 2023. It is now read-only.
This repository was archived by the owner on Sep 20, 2023. It is now read-only.

Developer onboarding: One line setup #105

Closed
@wanderingstan

Description

@wanderingstan

The steps to get started with demo-dapp are currently long and tedious. (A similar issue is open for origin.js)

See current instructions here: https://github.com/OriginProtocol/demo-dapp#install-and-run-demo-dapp-locally

We need a friendlier intro for new contributors, and a system that is less error-prone.

  • Drop truffle develop and use ganache-cli to run local blockchain. (Using build scripts by @nick as inspiration)
  • Use env and/or command line args to switch between local chain and network chains. (E.g. Rinkeby, mainnet)

Other ideas?

@joshfraser @DanielVF @tyleryasaka @micahalcorn


EDIT: A more specific goal for us:

Primary Goal: User can have dapp up and running with one line (after cloning).

git clone git@github.com:OriginProtocol/demo-dapp.git && cd demo-dapp

npm install && npm run start
  • Should work from default branch shown to user on https://github.com/OriginProtocol/demo-dapp
  • Should launch a browser running the dapp, using latest compatible origin.js from npm
  • Should function on Rinkeby and Ropsten testnets.
  • Target audience is front-end js and react developers who want to build Origin DApps, but don't know (or need to care) about blockchain.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions