This folder contains the Aleph user interface, a ReactJS-based application.
Usually, the UI will be run via the docker setup included in aleph. If you want to execute it as a stand-alone application, run the following commands:
npm install
npm start
- React app at http://localhost:3000
Be sure to have the environment variable REACT_APP_API_ENDPOINT
pointed
at an Aleph 2 instance with CORS enabled. To do this, you can create a .env
file in the root of the ui folder that contains something like the following:
REACT_APP_API_ENDPOINT=http://localhost:5000/api/2
We need to document this properly.
npm run messages
npm run json2pot
tx push -s
tx pull -a
npm run po2json