-
Install dependancies.
Use npm to install dependancies.
npm install -g gatsby-cli npm install
-
Build files.
Navigate into your new site’s directory and build it.
cd christianacare/ gatsby build gatsby serve
-
Preview files!
Your site is now running at http://localhost:9000!
-
Need to make changes?
Navigate into your site’s directory and start the development server.
cd christianacare/ gatsby develop
Your site is now running at http://localhost:8000!
Edit
src/templates/landing-page.js
to see your site update in real-time! Or add/update any .json file inside ofsrc/data
and see the content update auto-magically. Any new .json file you create inside ofsrc/data
will create a new page. -
Learn more
millertchris/christianacare
Used Gatsby to create a fast turnaround landing page template. Designs were prescribed and all that was necessary was from frontend markup. Gatsby may have been a bit overkill but it was fun using it!
JavaScript0BSD