You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now make sure [Tidewave is installed](https://hexdocs.pm/tidewave/installation.html) and you are ready to connect Tidewave to your app.
38
38
39
39
#### Settings
40
40
41
41
*`ALLOWED_HOSTS` - Tidewave use the same allowed origins as your app to validate access
42
42
*`TIDEWAVE["allow_remote_access"]` - Whether to allow remote connections (default `False`)
43
43
*`TIDEWAVE["team"]` - Enable your Tidewave Team configuration, such as `TIDEWAVE = {"team": {"id": "dashbit"}}`
44
44
45
+
Note Tidewave only runs in DEBUG mode.
46
+
45
47
### Flask
46
48
47
49
Add `tidewave[flask]` as a dependency to your `pyproject.toml`:
@@ -59,10 +61,10 @@ if app.debug:
59
61
tidewave.init_app(app)
60
62
```
61
63
62
-
Tidewave will automatically detect if your Flask application is using SQLAlchemy and Jinja2 and configure them automatically.
63
-
64
64
Note Tidewave only runs when `app.debug` is `True`. Therefore, remember to start your dev server with the `--debug` flag. If you are setting `app.debug` programatically, remember to do so before you call `tidewave.init_app`.
65
65
66
+
Now make sure [Tidewave is installed](https://hexdocs.pm/tidewave/installation.html) and you are ready to connect Tidewave to your app.
67
+
66
68
#### Configuration
67
69
68
70
When initializing `Tidewave()`, the following options are supported:
@@ -71,6 +73,8 @@ When initializing `Tidewave()`, the following options are supported:
71
73
-`allowed_origins:` list of allowed origin hosts (default [])
72
74
-`team`: enable Tidewave Web for teams
73
75
76
+
Tidewave will automatically detect if your Flask application is using SQLAlchemy and Jinja2 and configure them automatically.
77
+
74
78
### FastAPI
75
79
76
80
> Tidewave Web is currently not supported for FastAPI.
0 commit comments