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

Add a note about installing on macOS #60

Merged
merged 1 commit into from
Jun 13, 2024
Merged
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
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,16 @@ uvicorn npg_porch.server:app --host 0.0.0.0 --port 8080 --reload --log-config lo

and open your browser at `http://localhost:8080` to see links to the docs.

On macOS you will need to ensure that a version of the `sqlite3` library that supports SQLite extensions
is used when installing the `pysqlite3` package. The system library on macOS does not, so an alternative
such as the one provided by MacPorts or Homebrew should be used. For example, when using MacPorts this
can be done by setting the `CPPFLAGS` environment variable before running the `pip install` command:

```
export CPPFLAGS="-I/opt/local/include"
```


The server will not start without `DB_URL` in the environment

## Running in production
Expand Down
Loading