From 3ea203220f0ceda857122fcb7cc761471a0dd768 Mon Sep 17 00:00:00 2001 From: Brandon Yee <6111102+Firebird1029@users.noreply.github.com> Date: Sat, 16 Mar 2024 19:00:27 -0400 Subject: [PATCH] adjust helpers to account for frontend folder removal --- .github/workflows/lint-v1.yml | 4 ++-- README.md | 9 ++++----- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/lint-v1.yml b/.github/workflows/lint-v1.yml index 04a96fb..c90a9e1 100644 --- a/.github/workflows/lint-v1.yml +++ b/.github/workflows/lint-v1.yml @@ -13,9 +13,9 @@ jobs: steps: - uses: actions/checkout@v4 - name: Install frontend modules - run: cd frontend && npm ci + run: npm ci - name: Lint frontend - run: cd frontend && npm run lint + run: npm run lint - name: Install backend modules run: cd api && pip install -r requirements.txt - name: Lint backend diff --git a/README.md b/README.md index c52bb0d..0108edb 100644 --- a/README.md +++ b/README.md @@ -11,12 +11,12 @@ cd api && pip install -r requirements.txt && cd - To install the frontend NPM packages: ```bash -cd frontend && npm install && cd - +npm install && cd - ``` ## Backend -To run the backend server: +To run the local backend server: ```bash cd api @@ -37,10 +37,9 @@ http://127.0.0.1:5000/api/ping ## Frontend -To run the frontend application: +To run the local frontend application: ```bash -cd frontend npm run dev ``` @@ -50,7 +49,7 @@ To lint the frontend code: npm run lint ``` -To access the frontend application: +To access the local frontend application: ```plaintext localhost:3000