adityavinodk / tree_map

TreeBase - Community Friendly Tree Plantation WebApp

Repository from Github https://github.comadityavinodk/tree_mapRepository from Github https://github.comadityavinodk/tree_map

Tree Plantation App

Flask-React app with MongoDB

Installation

  1. Clone the repository
$ git clone https://github.com/adityavinodk/tree_map.git
$ cd tree_map
  1. Create a virtual environment (optional).

  2. Install all requirements using pip:

$ pip install -r requirements.txt
  1. Move into the server directory and type the following command to create secret.key file:
$ cd server
$ openssl rand 256 > secret.key
  1. Move into the frontend directory and type the following command to make the frontend build:
$ cd frontend
$ npm run build
  1. Keep Mongo running and start the server in the server directory:
$ python app.py --plant_initial_clusters=<boolean value> --tree_count=<integer value>

Open the link at the server's running port in the browser

About

TreeBase - Community Friendly Tree Plantation WebApp


Languages

Language:JavaScript 74.5%Language:Python 20.8%Language:CSS 2.8%Language:HTML 1.9%