Eviction Free NYC!
This site was built in conjunction with the Right to Counsel Coalition as a new resource for NYC tenants to navigate the new RTC law, learn how to respond to an eviction notice, and access legal aid services.
This site is built on top of GatsbyJS.
Getting the site up-and-running
Before installing anything, you will want to check out the
repository and create an .env.development
file from the
template:
cp .env.development.sample .env.development
Now edit .env.development
as needed.
You can now develop using either the local installation of node on your computer, or via Docker.
Option 1: Developing with your local installation of node
Make sure that you have node >= v6
and npm >= v3
running. In a terminal window, type node --version
and hit ENTER, then npm --version
and hit ENTER to get this info. You'll then need to install gatsby:
npm install --global gatsby-cli
alternatively in yarn:
yarn global add gatsby-cli
Once your environment is setup, you'll need to download libraries (make sure you're in the root directory):
npm install
or
yarn install
then simply use the Gatsby CLI to start your dev environment!
gatsby develop
Option 2: Developing with Docker
Get Docker and run:
docker-compose run app yarn
docker-compose up
Then visit http://localhost:8000/ in your browser and you should be good to go.
Deploying
See the deploy instructions on the GatsbyJS site to decide what's best for you!
Attribution
The starter for this site was gatsby-contentful-i18n, built by mccrodp! Many thanks!
Also a huge thanks to the team at Contentful for their generous support.
We use BrowserStack Live to make sure that our sites work across browsers, operating systems, and devices.
License
JustFix.nyc uses the GNU General Public License v3.0 Open-Source License. See LICENSE.md
file for the full text.