Geo-Web-Project / cadastre

Map-based interface for claiming, buying, and managing Geo Web land parcels.

Home Page:https://geoweb.land/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Geo Web Cadastre

Getting Started

Start by setting up the local environment variables.

cp .env.example .env.local

Mapbox

Create an account on mapbox. Once you have an account, create a token on mapbox. Update the .env.local file in the Cadastre folder with this line of code and your new token from mapbox:

VITE_MAPBOX_TOKEN=your_mapbox_token

Alchemy

If you don't already have an account, create one at Alchemy. Once you have an account, create a project for GeoWeb and copy the API key. Update the .env.local file in the Cadastre folder with this line of code:

VITE_ALCHEMY_API_KEY=your_alchemy_api_key

Install Dependencies

Install Node Version 18 if you don't have it but stay within LTS.

Use yarn to download and install all your dependencies

yarn

Run Project

To run locally

yarn dev

Docker Deployment

To deploy to production, you will need to install docker and run

docker build -t cadastre .
docker run -p 3000:3000 cadastre

Testing

During development cycles you will need Optimism Sepolia ETH. There are two ways to obtain OP Sepolia ETH.

  1. Faucet Head over to the Optimism faucets list and enter the address of the wallet you would like to fund.

  2. Bridge If you already have Sepolia ETH you can use the Optimism Bridge. Connect you wallet, select the Sepolia testnet and the amount you would like to bridge.

Branching & Commits

If you'd like to contribute create a branch based on develop and make a PR to be merged in develop, commits should follow the Conventional Commits specification.

About

Map-based interface for claiming, buying, and managing Geo Web land parcels.

https://geoweb.land/

License:MIT License


Languages

Language:TypeScript 97.6%Language:SCSS 1.1%Language:JavaScript 0.7%Language:HTML 0.3%Language:Dockerfile 0.2%Language:Nix 0.1%