This is the full code for the tutorial released on generativehut.com.
Tutorial text is also available at ./tutorial/TUTORIAL.md
in a markdown format.
The project is released under this link. 256 edition, for 5 tezos. 90% of the proceedings (including secondary shares/royalties) go to this donation contract, which was setup by the fxhash and the Versum team. This contract splits the received funds between different charities (Save The Children, Direct Relief, etc.). You can read more on the contract here. If you want to support a good cause, mint one for yourself!:)
You will need to have nodejs installed.
First, make sure that your node version is >= 14
Clone the repository on your machine and move to the directory
$ git clone https://github.com/danielpetho/terrestrial.git your_folder && cd your_folder
Install the packages required for the local environment
$ npm i
$ npm start
This last command will start a local http server with live reloading enabled so that you can iterate faster on your projects. Open http://localhost:8080 to see your project in the browser.
$ npm run build
Will bundle your js dependencies into a single minified bundle.js
file, move your files from the public/
to the dist/
folder, and link the bundle.js
with the index.html
.
Moreover, it will create a dist-zipped/project.zip
file which can be directly imported on fxhash.
MIT
Feel free to open a pull request, or ask any question.