This repository drives the website for Fields of The World.
🌐 Live Website: fieldsofthe.world
Before you begin, ensure you have the following installed on your system:
- macOS: Homebrew package manager
- Ruby: Version 3.0+ (we'll install via Homebrew)
- Git: For version control
-
Clone the repository
git clone https://github.com/fieldsoftheworld/fieldsoftheworld.github.io.git cd fieldsoftheworld.github.io -
Install Ruby via Homebrew (if not already installed)
brew install --formula ruby
-
Set up Ruby PATH
export PATH="/opt/homebrew/opt/ruby/bin:$PATH" export PATH="/opt/homebrew/lib/ruby/gems/3.4.0/bin:$PATH"
Add these lines to your shell profile (
~/.zshrcor~/.bash_profile) to make them permanent:echo 'export PATH="/opt/homebrew/opt/ruby/bin:$PATH"' >> ~/.zshrc echo 'export PATH="/opt/homebrew/lib/ruby/gems/3.4.0/bin:$PATH"' >> ~/.zshrc
-
Install Jekyll and Bundler
gem install jekyll bundler
To run the website locally for development:
-
Start the Jekyll server
jekyll serve --host 0.0.0.0 --port 4000
-
Open your browser and navigate to:
http://localhost:4000
The site will automatically regenerate when you make changes to the files. Press Ctrl+C to stop the server.
Jekyll command not found?
- Ensure Ruby gems bin directory is in your PATH
- Try running with full path:
/opt/homebrew/lib/ruby/gems/3.4.0/bin/jekyll serve
Permission issues?
- Make sure you have write permissions to the project directory
- Try running with
--safeflag:jekyll serve --safe
fieldsoftheworld.github.io/
├── _layouts/ # Jekyll layout templates
│ └── default.html # Main site layout
├── static/ # Static assets
│ ├── css/ # Stylesheets
│ ├── images/ # Images and logos
│ └── js/ # JavaScript files
├── map/ # Interactive map components
├── map-src/ # Map source files
├── index.html # Homepage
├── tutorial.html # Dataset tutorial
├── paper.html # Research paper page
├── contributing.html # Contribution guidelines
├── LICENSE # CC BY-SA 4.0 license
└── README.md # This file
We welcome contributions to improve the website and documentation! Please see our Contributing Guidelines for details on:
- How to report bugs
- How to suggest enhancements
- Code style guidelines
- Pull request process
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Make your changes
- Test locally using Jekyll serve
- Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
For information about accessing the Fields of The World dataset, please visit the Get Started section of our website.
If you use the Fields of The World dataset in your research, please cite:
<!-- TODO: Add proper citation once paper is published -->
@misc{ftw2024,
title={Fields of The World: A Comprehensive Benchmark Dataset for Agricultural Field Boundaries},
author={[Authors to be added]},
year={2024},
url={https://fieldsofthe.world}
}This website is licensed under the Creative Commons Attribution-ShareAlike 4.0 International License.
You are free to:
- Share — copy and redistribute the material in any medium or format
- Adapt — remix, transform, and build upon the material
Under the following terms:
- Attribution — You must give appropriate credit
- ShareAlike — If you remix, transform, or build upon the material, you must distribute your contributions under the same license
- Website: fieldsofthe.world
- Issues: GitHub Issues
- Email: [Contact information to be added]
- Contributors to the open datasets that were harmonized into FTW
- The Sentinel-2 satellite imagery program
- Jekyll and GitHub Pages for hosting infrastructure
- All contributors to this project
Note: This is the website repository for Fields of The World. For the actual dataset files and research code, please visit the main project page.
