This box provides a starting point for trying out the new truffle preserve
command.
-
Uninstall any old version of Truffle you might have and install v5.1:
$ npm uninstall -g truffle $ npm install -g truffle@preserves
-
Make sure you're in an empty directory and unbox this project:
$ truffle unbox preserve-example
-
Preserve your data!
$ truffle preserve ./app --ipfs