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

Vite config update #3227

Merged
merged 4 commits into from
Nov 19, 2024
Merged
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
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,14 @@ GOOGLE_CLIENT_SECRET=

[podman-compose](https://github.com/containers/podman-compose) is used to run a local copy of all required services together.



macOS Development Setup - If you're working on macOS and encounter issues with file watching in Vite, use the following environment variables (in config.env):

```
CHOKIDAR_USEPOLLING=true
```

```shell
# This will run podman-compose in the background (-d flag is --detach)
podman-compose up -d
Expand Down
4 changes: 4 additions & 0 deletions config.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ ORCID_API_ENDPOINT=https://api.sandbox.orcid.org
GLOBUS_CLIENT_ID=
GLOBUS_CLIENT_SECRET=

# macOS Development Setup - Fixes issues with Vite file watching - set to CHOKIDAR_USEPOLLING=true
CHOKIDAR_USEPOLLING=false
CHOKIDAR_INTERVAL=1000

# Relay for enabling mail - leave blank to disable email
CRN_SERVER_MAIL_API_KEY=
CRN_SERVER_MAIL_API_SECRET=
Expand Down
Loading