Skip to content

Ritesh-1310/community-website

 
 

Repository files navigation

Community Website

All Contributors

Powered by Vercel

Contributors website is for people to get a glimpse of moja global's projects and their working. The website also holds blogs and guides by the moja family to help you better understand our work and hopefully learn from others experience.

Start developing on GitPod and see the code in action.

Gitpod ready-to-code

What is moja global?

moja global is a collaboration under the Linux Foundation that aims for the widest possible collaboration on and use of credible tools to better manage the land sector. The flagship software is the Full Lands Integration Tool (FLINT), a tool to estimate emissions and sinks of greenhouse gasses from forestry and agriculture.

Local Development

Before setting up the project make sure the LTS (Long Term Support) version of NodeJs is installed with a package manager of your choice. We recommend NPM or Yarn.

  1. Fork the repository.

  2. Clone the repository.

https://github.com/<YOUR_GITHUB_USERNAME>/community-website.git
  1. Go into the directory containing the project.
cd community-website/website
  1. Install all the dependencies
yarn
  1. Start the development server.
yarn start
  1. Build the Community website:
yarn build
  1. Serve an optimized production build:
yarn serve

Linting Guidelines

The Project has ESLint configured to properly format the code. This enables developer to follow the same coding style and to avoid improperly-linted code. All the commands below should be run from the website directory.

yarn lint

This command logs all warnings and lint errors and scope of fixes/improvements.

yarn lint:fix

This option instructs ESLint to try to fix as many issues as possible. The fixes are made to the actual files themselves and only the remaining unfixed issues are output.

eslint --ignore-path tmp/.eslintignore file.js

This option allows you to specify the file to use as your .eslintignore. By default, ESLint looks in the current working directory for .eslintignore. You can override this behavior by providing a path to a different file.

Deployment

We use Vercel for deployment. To enable Vercel, create an account and through the Vercel dashboard, you can create a new project by importing a GitHub repository. The repository should be a fork of the moja-global/community-website repository. Vercel will automatically configure the build settings for the project and deploy it. You can further configure the domain name and other settings in the Vercel dashboard.

If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the gh-pages branch.

GIT_USER=<Your GitHub username> USE_SSH=true yarn deploy

You can optionally deploy it using Docker Compose. Push the following commands to your terminal.

docker compose up --build

Contribution Guides

How to Get Involved?

moja global welcomes a wide range of contributions as explained in Contributing document and in the About moja-global Wiki.

FAQ and Other Questions

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Abhishek Kumar

🚇

Siddhant Khare

💻 👀 🧑‍🏫 💬

eemike07

💻

Faisal Jamil

💻

Utkarsh Maurya

🐛

Aman Kumar

🐛

Roma Sinha

📖

Anirudh Panda

🐛

Padmaja Bhol

🐛

Ishika414

💻

Megatank58

📖

rutujaingole

📖 🚇

Rajiv Singh

🚇

Mizan Ali

💻

Julián Cabezas

🌍

Devesh Kumar

🐛

This project follows the all-contributors specification. Contributions of any kind welcome!

About

Community Website of moja global

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 79.8%
  • CSS 19.6%
  • Other 0.6%