Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix typos #486

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions SETUP.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:

Expand Down
2 changes: 1 addition & 1 deletion api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
2 changes: 1 addition & 1 deletion infra/prod/Pulumi.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
name: prod
description: Produciton infrastructure for passport scorer
description: Production infrastructure for passport scorer
runtime: nodejs