All Projects → hackforla → food-oasis-la

hackforla / food-oasis-la

Licence: MIT license
This is a website with a map of food sources in Los Angeles, and list of resources about food deserts and health, published with Jekyll and GitHub Pages.

Programming Languages

HTML
75241 projects
javascript
184084 projects - #8 most used programming language
CSS
56736 projects

Projects that are alternatives of or similar to food-oasis-la

food-oasis
Repository for the current redevelopment of the Food Oasis Los Angeles website
Stars: ✭ 33 (+37.5%)
Mutual labels:  farmers-markets, los-angeles, food-deserts, community-gardens
facelift
Quick github-pages generator
Stars: ✭ 22 (-8.33%)
Mutual labels:  gh-pages
maptalks.mapboxgl
MapboxglLayer for maptalks.js
Stars: ✭ 51 (+112.5%)
Mutual labels:  mapbox
mapboxRevit
View Revit models inside Mapbox
Stars: ✭ 23 (-4.17%)
Mutual labels:  mapbox
anitab-org.github.io
AnitaB.org Open Source website has information about our community, including our open source projects, participation in programs, events, and a few contribution guidelines.
Stars: ✭ 141 (+487.5%)
Mutual labels:  gh-pages
home
Personal portfolio site of Faraz Shaikh.
Stars: ✭ 18 (-25%)
Mutual labels:  gh-pages
react-ui-kit-boilerplate
A minimal React UI Kit boilerplate with Storybook, hot reloading, Styled Components, Typescript and Jest
Stars: ✭ 88 (+266.67%)
Mutual labels:  gh-pages
trailing-slash-guide
Understand and fix your static website trailing slash issues!
Stars: ✭ 255 (+962.5%)
Mutual labels:  gh-pages
basemaps
A lightweight package for accessing basemaps from open sources in R 🗺️
Stars: ✭ 39 (+62.5%)
Mutual labels:  mapbox
mapbox-covid19
Yet another map for covid 19 using mapbox
Stars: ✭ 20 (-16.67%)
Mutual labels:  mapbox
theweekendest
Real-time New York City subway service map
Stars: ✭ 51 (+112.5%)
Mutual labels:  mapbox
migrant service map
Refugees welcome
Stars: ✭ 23 (-4.17%)
Mutual labels:  mapbox
tdm-calculator
DTLA Hack for LA is partnering with Los Angeles Department of Transportation (LADOT) to develop a Traffic Demand Management (TDM) calculator tool. This tool will help planners at LADOT and real estate developers to meet the Los Angeles’s Mobility Plan goals by 2035.
Stars: ✭ 21 (-12.5%)
Mutual labels:  los-angeles
wo-ist-markt.github.io
A map visualization of periodic markets in different cities.
Stars: ✭ 73 (+204.17%)
Mutual labels:  farmers-markets
custom-mapbox-layer
A custom layer based on Mapbox
Stars: ✭ 66 (+175%)
Mutual labels:  mapbox
covid-19-visualization
US Covid-19 Visualization. Github pages automatic build.
Stars: ✭ 2 (-91.67%)
Mutual labels:  gh-pages
lascallesdelasmujeres
Proyecto colaborativo para fomentar la generación de contenidos en OSM y Wikipedia, sobre mujeres.
Stars: ✭ 45 (+87.5%)
Mutual labels:  mapbox
website
Hack for LA's website
Stars: ✭ 133 (+454.17%)
Mutual labels:  gh-pages
matjek
Material theme based on Materialize.css for jekyll sites
Stars: ✭ 94 (+291.67%)
Mutual labels:  gh-pages
ProjectLockdown
Project Lockdown (an initiative from The IO Foundation) is a civic tech, interactive platform providing an overview of the state of Human and Digital Rights around the globe. It evaluates policies obtained from official sources that may impact their observance. It provides, among other tools, a layered map interface that allows for a visual repr…
Stars: ✭ 34 (+41.67%)
Mutual labels:  mapbox

Food Oasis

This repository originated from the Food Oasis LA github and has transfered ownership to Hack for LA for posterity. The project has been acquired by the Youth Policy Institute in January 2018, who will maintain future updates to the live website.

Guide Contents

This is a website with a map of food sources in Los Angeles, and list of resources about food deserts and health. You can view the site here… https://foodoasis.la

How to make changes

The website is published with GitHub Pages, and the files are generated with Jekyll.

As you make changes and commit/push them to GitHub, the staging website will automatically update. You can also manually push your changes to the live website.

How to develop locally

If you want to see a preview of your changes while you work, you can run a Jekyll server on your local machine. Installing Ruby and Jekyll is a good place to start.

After you have Jekyll installed, you can clone this project with Git or GitHub Desktop

git clone https://github.com/foodoasisla/site.git

And then start running the Jekyll application like this...

jekyll serve

Speeding up Jekyll

Since it takes a while to generate the whole site, you may want to run Jekyll in “incremental“ mode, and use our development configuration file…

jekyll build && jekyll serve --config _config_dev.yml --incremental

Wow, that’s a lot to remember! We’re using Node.js to manage commands like that one for us. If you’d like to do that as well, here are some steps you can follow…

  1. Install Node.js and NPM.

  2. Install our project’s dependencies...

npm install
  1. Start the application...
npm start

That will start Jekyll with a special configuration that skips these files (since they take a long time to create)…

api/*
locations/*
community-garden/*
farmers-market/*
food-pantry/*
summer-lunch/*
supermarket/*
sitemap.xml

If those folders are already present, your local website should still work great (though the files in those folders may not be the latest).

Here’s one more command skips the initial build of those folders, if you want to start up quickly.

npm run serve

Handy guides

A summary of the project files

Files for Jekyll

_config.yml
_config_dev.yml
_data/*
_drafts/*
_includes/*
_layouts/*

Files for Node.js

package.json
_node/*

Files generated by Node.js, for Jekyll

_locations/*
_community-garden/*
_farmers-market/*
_food-pantry/*
_summer-lunch/*
_supermarket/*

Files for GitHub

README.md
LICENSE
CNAME

Assets

assets/css
assets/images
assets/js

Pages

index.html
organizations.md
resources.md
about.md
team.md
faqs.md
news.html
add.md
404.md

Pages translated into Spanish

es/*

Lists of locations

locations/*
community-garden/*
farmers-market/*
food-pantry/*
summer-lunch/*
supermarket/*

How to add a new location

You can add a new location with the add form.

If you want to add a lot of new locations at once, these files may help…

_node/create-markdown.js
_node/update-markdown.js

After you add one or more new locations, run this command to add them to the map…

npm run update-paging

The markdown files in these folders were initially generated by Node.js from the data files in the _data folder.

_locations/*
_community-garden/*
_farmers-market/*
_food-pantry/*
_summer-lunch/*
_supermarket/*

They were created with _node/create-markdown.js and updated with _node/update-markdown.js, but have since been edited by hand.

License

The code, data and design for this project are available under an open source license. That means you’re free to use them to make a food oasis for your city.

The Food Oasis Los Angeles name and logo are copyright Hack for LA c/o Code for America. Please check with us first, before using these on a project.

The icons used in this project came from these two sources…

Icons by the Noun Project

https://thenounproject.com

Licensed under Creative Commons

To use these icons on your project, you may need to purchase a license from the Noun Project.

Icons by Font Awesome, by Dave Gandy

http://fontawesome.io

Licensed under the SIL OFL 1.1

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].