pointnetwork / drive.point

Google Drive, the web3 way

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Template Example Zapp

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.

Main Libraries

This template Zapp uses:

Prepare for deployment

Since this a React JS site it rquires to be built before it can be deployed as follows:

  1. Run npm i
  2. 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

Prepare for development

  1. CD into the ./example/template.point directory.
  2. Run npm i to install the sites dependencies
  3. Run npm run watch (or npm run watch:docker if you are running the Node using Docker) to have parcel watch the site and build it on any detected changes
  4. Run ./scripts/deploy-sites.sh template --contracts (from the node root folder) to deploy the sites views directory that was built using parcel.
  5. 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.

About

Google Drive, the web3 way


Languages

Language:JavaScript 80.3%Language:Solidity 12.9%Language:CSS 6.1%Language:HTML 0.7%