Git Product home page Git Product logo

oemc's Introduction

Open-Earth-Monitor Cyber-infrastructure

Screenshot

Overview

description

Table of Contents

  1. Installation & development
  2. Deployment
  3. Contributing

Installation & development

Requirements:

  • NodeJs v18
  • Yarn

Main libraries used in the project

Quick start for development

In order to start modifying the app, please make sure to correctly configure your workstation:

  1. Make sure you have Node.js installed or install NVM to manage your different Node.js versions
  2. (Optional) Use Visual Studio Code as a text editor to benefit from automatic type checking
  3. (Optional) Configure your text editor with the Prettier, ESLint, EditorConfig, Tailwind CSS recommended plugins
  4. Use the correct Node.js version for this app by running nvm use; if you didn't install NVM (step 2), then manually install the Node.js version described in .nvmrc.
  5. Install Yarn by running npm install -g yarn.

Create environment file following the .env.example file, creating a file called .env.local. For more info about environment variables, check the Environment variables section.

Example:

NEXT_PUBLIC_API_URL=http://api-domain.org

Install the dependencies:

yarn install

Run the server for development:

yarn dev

You can access a hot-reloaded version of the app on http://localhost:3000.

Production

To build the app for production, run:

yarn build

This will create an optimized production build in the .next folder.

Run de application in production mode:

yarn start

Check out the Next.js deployment documentation for more details.

Environment variables

Set the environment variables needed creating a file .env.local in the root of the project with the following content:

Variable name Description Default value
NEXT_PUBLIC_API_URL URL of the API for datasets Data. http://localhost:3000

Contributing

Please, create a PR for any improvement or feature you want to add. Try not to commit anything directly on the main branch.

oemc's People

Contributors

davidsingal avatar mluena avatar

Stargazers

Srdjan Popovic avatar

Watchers

Tomislav Hengl avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.