Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Gatsby

Right To Counsel NYC Coalition's Worst Evictors Website

This repository contains the Right To Counsel (RTC) NYC Coalition's Worst Evictors Website.

It is based on a Gatsby starter. Almost all of the content is pulled from Contentful.

🚀 Quick start

  1. Set Contentful API keys.

Copy .env.sample to .env and set your Contentful API variables. To grab these variables, make an account and create a content space with Contentful.

  1. Install dependencies.

Run yarn to install all dependencies.

  1. Start developing.

Run yarn develop to start developing.

Your site is now running at http://localhost:8000!

Note: You'll also see a second link: http://localhost:8000___graphql. This is a tool you can use to experiment with querying your data. Learn more about using this tool in the Gatsby tutorial.

  1. Edit some files!

Open the the repository's root directory in your code editor of choice and edit src/pages/index.tsx. Save your changes and the browser will update in real time!

Docker setup

You can also run the site using Docker. Create an .env file as per the quick start instructions, but then run:

docker-compose run app yarn --frozen-lockfile
docker-compose up

Then visit http://localhost:8000!

Deployment

We deploy our version of the site using Netlify, which links directly to this repo and deploys on commits to the master branch. To use Netlify in deploying your own version, follow this step-by-step guide.

Code of Conduct

Read about JustFix's code of conduct as an organization on our Mission page.

About

No description, website, or topics provided.

Resources

License

Releases

No releases published

Packages

No packages published