$ embark demo
You can run a REAL ethereum node for development purposes:
$ embark blockchain
Alternatively, to use an ethereum rpc simulator simply run:
$ embark simulator
By default Embark blockchain will mine a minimum amount of ether and will only mine when new transactions come in.
Then, in another command line:
$ embark run
This will open up the embark Dashboard
The dashboard will tell you the state of your contracts, the environment you are using, and what Embark is doing at the moment.
Available Services will display the services available to your dapp in green. If a service is down, then it will be displayed in red.
logs and console
There is a console at the bottom which can be used to interact with contracts or with Embark itself. Type
help to see a list of available commands. More commands will be added with each version of Embark.
Embark will then compile & deploy the contracts, update their JS bindings and deploy your DApp to a local server at http://localhost:8000
without the dashboard
if you prefer to only see the logs, you can disable the dashboard with the nodashboard option
embark run --nodashboard
Note that if you update your code, it will automatically be re-deployed, contracts included. There is no need to restart embark, refreshing the page on the browser will do.
Embark will automatically take care of deployment for you and set all
needed JS bindings. For example, the contract below: