Skip to content

Latest commit

 

History

History
69 lines (43 loc) · 2.76 KB

README.md

File metadata and controls

69 lines (43 loc) · 2.76 KB

Quinn Bonnett, RMT

Business website for Quinn Bonnett, Registered Massage Therapist.

website

Live link

https://stately-fudge-86cfc6.netlify.app/

Tech stack

Front End

Content Management

Linting & Formatting

Run Locally

Prerequisites

In order to run this application locally, you must have node installed on your computer. To check if you already have it installed, enter node -v in your terminal. If you do not have node, you can install it here: https://nodejs.org/en/

Clone the repository

Once you have confirmed that node is installed, cd into a folder on your computer and run the following command to clone the repository:

git clone https://github.com/LucasSilbernagel/quinn-rmt.git

Then cd into the project folder and open it in your code editor. For Visual Studio Code:

cd quinn-rmt code .

Install dependencies

To install all of the required dependencies, run npm install.

Start up the app

  • To start up the app locally, run npm start in your terminal. Your terminal should indicate a localhost URL at which you can view the app in your browser.
  • To add and edit content in Sanity Studio, cd into the studio folder, run npm run dev, and visit http://localhost:3333/content/desk/homepage.
    • Note that you won't have access to sign into my Sanity studio, you will have to generate your own project ID:
      • Visit https://www.sanity.io/ and create an account if you don't already have one.
      • Follow the instructions to create a new project and make a note of the project ID.
      • In your code editor, search for projectId and replace the value there with your own Sanity project ID. This should be done in three files: sanity.cli.ts, sanity.config.ts, and gatsby-config.ts.

Testing

Unit Tests

Unit tests are written with Jest and react-testing-library.

Use npm test to run all unit tests, or use npm test SomeFileToRun to run a specific test file.