From 2165b6b86a08c35924c2eba1900b5a0345dbd8e6 Mon Sep 17 00:00:00 2001 From: vuittont60 <81072379+vuittont60@users.noreply.github.com> Date: Fri, 5 Jan 2024 16:43:37 +0800 Subject: [PATCH] chore: fix typos --- SETUP.md | 6 +++--- api/Dockerfile | 2 +- infra/prod/Pulumi.yaml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/SETUP.md b/SETUP.md index 9caae161a..16672c363 100644 --- a/SETUP.md +++ b/SETUP.md @@ -35,12 +35,12 @@ Update the `DATABASE_URL` variable to `postgres://passport_scorer:passport_score Update the `CERAMIC_CACHE_SCORER_ID` variable to match a `SCORER_ID` you create from the scorer UI. (You will have to complete all these setup steps first, then you will be able to create a `SCORER_ID` from the UI & update this variable.) -3. Create a new `.env` file in the `interface` directory & update the varaibles. +3. Create a new `.env` file in the `interface` directory & update the variables. ```shell # From inside the interface/ directory cp .env.example .env ``` -Update the `NEXT_PUBLIC_PASSPORT_SCORER_ALCHEMY_API_KEY` varaible to an Alchemy API key you own. If you don't have one, you can create one for free [here](https://docs.alchemy.com/reference/api-overview) +Update the `NEXT_PUBLIC_PASSPORT_SCORER_ALCHEMY_API_KEY` variable to an Alchemy API key you own. If you don't have one, you can create one for free [here](https://docs.alchemy.com/reference/api-overview) 4. Run and build the `Dockerfile` from the root directory. The first time you run this, it will take @@ -162,7 +162,7 @@ Copy the `.env.example` file: cp .env.example .env ``` -Update the `NEXT_PUBLIC_PASSPORT_SCORER_ALCHEMY_API_KEY` varaible to an Alchemy API key you own. If you don't have one, you can create one for free [here](https://docs.alchemy.com/reference/api-overview) +Update the `NEXT_PUBLIC_PASSPORT_SCORER_ALCHEMY_API_KEY` variable to an Alchemy API key you own. If you don't have one, you can create one for free [here](https://docs.alchemy.com/reference/api-overview) To start the development server: diff --git a/api/Dockerfile b/api/Dockerfile index 0326d28c7..cd187caa0 100644 --- a/api/Dockerfile +++ b/api/Dockerfile @@ -47,6 +47,6 @@ ENV PATH="/usr/src/.venv/bin/:${PATH}" WORKDIR /app -RUN STATIC_ROOT=/app/static SECRET_KEY=secret_is_irelevent_here CERAMIC_CACHE_SCORER_ID=1 DATABASE_URL=sqlite:////dunmmy_db.sqlite3 python manage.py collectstatic --noinput +RUN STATIC_ROOT=/app/static SECRET_KEY=secret_is_irrelevant_here CERAMIC_CACHE_SCORER_ID=1 DATABASE_URL=sqlite:////dunmmy_db.sqlite3 python manage.py collectstatic --noinput CMD ["gunicorn", "-w", "4", "-k", "uvicorn.workers.UvicornWorker", "scorer.asgi:application", "-b", "0.0.0.0:8000"] diff --git a/infra/prod/Pulumi.yaml b/infra/prod/Pulumi.yaml index 005895f4e..9b940d2b5 100644 --- a/infra/prod/Pulumi.yaml +++ b/infra/prod/Pulumi.yaml @@ -1,3 +1,3 @@ name: prod -description: Produciton infrastructure for passport scorer +description: Production infrastructure for passport scorer runtime: nodejs