This is a static page (hosted on the Internet Computer) that gives user instructions on how to submit motion proposals to the NNS.
You can see it deployed to a canister here: https://3ndt4-3yaaa-aaaah-qbjaq-cai.raw.ic0.app/
If you want to test your project locally, you can use the following commands:
# Starts the replica, running in the background
dfx start --background
dfx deploy
And leave that window running (do not close it).
Type in:
# tells npm to constantlly rebuild your project's front-end
npm start
Which will start a server at http://localhost:8080
.
And leave that window running (do not close it).
This will put you in the following developer loop:
- Make a change to the repo
- Save change locally
- Navigate to http://localhost:8080/ to see the latest HTML change
@dprats note: While the commands in this tutorial are all valid. The actual front-end and styling is still a work in progress. As a starting point (and solely for inspiration to get my thoughts in order), I used my favorite developer documentation as inspiration (Stripe's docs). This tutorial is a public repo done for fun and should not be seen as official by DFINITY Foundation until more original front-end is used.