Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nycplanning/labs-home
Planning Labs Static Website built with Gatsby.js
https://github.com/nycplanning/labs-home
gatsby labs nyc react reactjs
Last synced: 4 months ago
JSON representation
Planning Labs Static Website built with Gatsby.js
- Host: GitHub
- URL: https://github.com/nycplanning/labs-home
- Owner: NYCPlanning
- License: other
- Created: 2017-12-11T17:11:21.000Z (about 7 years ago)
- Default Branch: develop
- Last Pushed: 2023-05-24T14:44:08.000Z (over 1 year ago)
- Last Synced: 2024-04-24T09:07:15.703Z (10 months ago)
- Topics: gatsby, labs, nyc, react, reactjs
- Language: JavaScript
- Homepage: https://planninglabs.nyc/
- Size: 6.94 MB
- Stars: 10
- Watchers: 8
- Forks: 10
- Open Issues: 34
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# NYC Planning Labs Website
[planninglabs.nyc](https://planninglabs.nyc/) built with [Gatsby.js](https://www.gatsbyjs.org/docs/building-with-components/)

## How you can help
In the spirit of free software, everyone is encouraged to help improve this project. Here are some ways you can contribute.
- Comment on or clarify [issues](link to issues)
- Report [bugs](link to bugs)
- Suggest new features
- Write or edit documentation
- Write code (no patch is too small):
- Fix typos
- Add comments
- Clean up code
- Add new features
**[Read more about contributing.](CONTRIBUTING.md)**## Requirements
You will need the following things properly installed on your computer.
* **[Git](https://git-scm.com/)**
* **[Node.js](https://nodejs.org/)** (with NPM) **version listed in .nvmrc**
* **[gatsby-cli](https://www.npmjs.com/package/gatsby-cli)** (to run [Gatsby](https://www.gatsbyjs.org/) commands)
* **[Yarn](https://yarnpkg.com/)**## Local development
1. Clone this repo
```sh
git clone git@github.com:NYCPlanning/labs-planninglabs-home.git
```
2. Navigate to the project directory
```sh
cd labs-planninglabs-home
```
3. Install dependencies
```sh
yarn
```
4. Copy and rename .env-template, and fill in the correct Airtable API KEY (see 1password)
4. Start your development server
```sh
netlify dev
```
5. Go to `localhost:8000` in your web browser, make any code changes in the [src directory](src) and watch as your webpage automatically reloads to show your changes._Optional_
- `gatsby build` — Gatsby will perform an optimized production build for your site generating static HTML and per-route JavaScript code bundles.
- `gatsby serve` — Gatsby starts a local HTML server for testing your built site.
- `netlify dev` —## Backend services
- **[Airtable](https://airtable.com/)** (used to manage project content)
- **[Netlify Functions](https://www.netlify.com/products/functions/)** (Hosts private functions to pull data)## Deployment
This project can be deployed on any static web server.
- Deploy via Dokku using `npm run deploy`
## Contact us
You can find us on Twitter at [@nycplanninglabs](https://twitter.com/nycplanninglabs), or comment on issues and we'll follow up as soon as we can. If you'd like to send an email, use [labs_dl@planning.nyc.gov](mailto:labs_dl@planning.nyc.gov)