Build the static web app
In the previous step we created an Hereditas box, and now we’re finally ready to build the static web app.
Build the web app
You’re finally ready to build the static web app, using the
hereditas build command:
This will ask you to type the user passphrase, which needs to be at least 8 characters long. You can choose any passphrase you’d like, but a good practice is to use a bunch of words in your native language. If you’re interested in the subject, check out XKCD 936.
Once the command is done, you’ll see your generated files in the
~/hereditas $ ls content
~/hereditas $ hereditas build
User passphrase: ***********
Finished building project in dist (took 3.895 seconds)
~/hereditas $ ls dist
NODE_ENV=development hereditas buildinstead.
Next step: Managing users
We’re almost there. Before you can actually deploy your box (or test it locally), we need to configure the list of users who can unlock it.