This is the JustFix website at https://justfix.org.
Actual site content is stored in Contentful, and the site is built using Gatsby.
Docker is the preferred way to set up a local build of the site.
-
Create an
.env
file by copying.env.sample
:cp .env.sample .env
-
Edit the
.env
file as needed. -
Run the following commands:
docker-compose run app yarn --frozen-lockfile docker-compose up
Then visit http://localhost:8000
!
-
Create an
.env
file by copying.env.sample
:cp .env.sample .env
-
Edit the
.env
file as needed. -
Install dependencies:
yarn --frozen-lockfile
-
Run the development server:
yarn develop
-
Open the source code and start editing!
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.Open the the
justfix-website
directory in your code editor of choice and editsrc/pages/index.tsx
. Save your changes and the browser will update in real time!
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.
Read about JustFix's code of conduct as an organization on our Mission page.