Skip to content

Commit

Permalink
Merge branch 'main' into feature/1167-phone-number
Browse files Browse the repository at this point in the history
  • Loading branch information
hancush authored Nov 21, 2024
2 parents e7aad93 + aa4793e commit 817ce18
Show file tree
Hide file tree
Showing 62 changed files with 2,818 additions and 2,155 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ debug.log
*_bk/

lametro/secrets.py
.env
.env.local

.venv
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/psf/black
rev: 24.1.1
rev: 24.3.0
hooks:
- id: black

Expand Down
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ When your logs indicate that your app is up and running, visit http://localhost:
### Optional: Populate the search index

If you wish to use search in your local install, you need a SmartLogic API
key. Initiated DataMade staff may retrieve values for the `SMART_LOGIC_ENVIRONMENT`
and `SMART_LOGIC_KEY` environment variables from Heroku:
key and the reCAPTCHA development keys. Initiated DataMade staff may retrieve values for
the `SMART_LOGIC_ENVIRONMENT` and `SMART_LOGIC_KEY` environment variables from Heroku:

```bash
heroku config:get SMART_LOGIC_ENVIRONMENT SMART_LOGIC_KEY -a la-metro-councilmatic-staging
Expand All @@ -112,6 +112,9 @@ docker-compose run --rm app python manage.py update_index

When the command exits, your search index has been filled.

The reCAPTCHA keys will be found in a Bitwarden note titled "LA Metro Councilmatic - Dev recaptcha keys".
Similarly add both the public and private keys to your environment variables.

## Running arbitrary scrapes
Occasionally, after a while without running an event scrape, you may find that your local app is broken. If this happens, make sure you have events in your database that are scheduled for the future, as the app queries for upcoming events in order to render the landing page.

Expand Down
6 changes: 6 additions & 0 deletions lametro/static/css/bootstrap.min.css

Large diffs are not rendered by default.

12 changes: 12 additions & 0 deletions lametro/static/css/bootswatch.min.css

Large diffs are not rendered by default.

Loading

0 comments on commit 817ce18

Please sign in to comment.