Welcome to the Template Example Zapp. This README is a basic guide to getting started with this application.
This is a React JS app. So you will need to install dependencies for it and run a build watcher if you want to develop it further.
This template Zapp uses:
- React JS v 17.x
- React Bootstrap v 2.x
- Bootstrap v 5.x
Since this a React JS site it rquires to be built before it can be deployed as follows:
- Run
npm i
- Run
npm run build
Now a public
folder will be created containing the deployable built site. You can now deploy the site to the network using the point-deploy
executable. For details on deploying to the network see this README
- CD into the ./example/template.point directory.
- Run
npm i
to install the sites dependencies - Run
npm run watch
(ornpm run watch:docker
if you are running the Node using Docker) to have parcel watch the site and build it on any detected changes - Run
./scripts/deploy-sites.sh template --contracts
(from the node root folder) to deploy the sitesviews
directory that was built using parcel. - From the Point SDK repo README, follow the instructions to start an instance of Firefox with the Point SDK extention already installed using
web-ext
command.