Skip to content

Commit

Permalink
Updated README for new dev setup
Browse files Browse the repository at this point in the history
Signed-off-by: Christopher Andrew Hinchey <[email protected]>
  • Loading branch information
ChrisHinchey committed Mar 2, 2023
1 parent 132ccaa commit 1bdcdd0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .env-sample
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# ------------ Strapi ------------ #
# URL where strapi is hosted
STRAPI_URL=CHANGEME
# Normally STRAPI_URL + '/graphql'
GQL_HOST=CHANGEME

# ------------ Playwright ------------ #
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ This repository contains the frontend source code for the upcoming new https://s
1. [Fork repository](https://github.com/mitre/saf-site) and clone it locally
2. Install project dependencies: `yarn install`
3. Install playwright dependencies with `npx playwright install`
4. For developing use: `yarn dev`
5. For production use: `yarn build` and `yarn preview`
5. Copy `.env-sample` into `.env` and replace `CHANGEME` values as appropriate
6. For developing use: `yarn dev`
7. For production use: `yarn build` and `yarn preview`

[![Deploy to Netlify](https://www.netlify.com/img/deploy/button.svg)](https://mitre-saf-v2.netlify.app/)

Expand Down

0 comments on commit 1bdcdd0

Please sign in to comment.