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
- See the [pytest documentation](https://docs.pytest.org/en/latest/how-to/usage.html), or run pytest with the `--help` flag to learn about more options for running tests.
82
82
83
83
- Run all SQL tests:
@@ -183,7 +183,7 @@ Django uses gettext, which require the `.po` files to be compiled into a more ef
183
183
## Translation process
184
184
185
185
- We use [Transifex](https://app.transifex.com/mathesar/mathesar/dashboard/) for managing our translation process.
186
-
- You'll need to be a member of the Mathesar organization in Transifex, inorder to work with translations. Please reach out to us for information on how to join.
186
+
- You'll need to be a member of the Mathesar organization in Transifex, inorder to work with translations. Please reach out to us for information on how to join.
187
187
188
188
### For Translators
189
189
@@ -241,12 +241,34 @@ If you'd like to manually push or pull translations, follow the instructions in
241
241
```
242
242
docker exec -it mathesar_dev_db psql -U mathesar
243
243
```
244
-
244
+
245
+
## Working with file attachments
246
+
247
+
Mathesar has a feature which allows users to upload files through the UI and store references to those file in data. Uploaded files are stored in an S3-compatible storage provider.
248
+
249
+
To work with this feature in your local development environment, you'll need to take some extra steps to enable it:
250
+
251
+
1. Copy `file_storage.yml.example` to `file_storage.yml`.
252
+
253
+
1. Restart docker with the following command
254
+
255
+
```
256
+
docker compose -f docker-compose.dev.yml up dev-service obj-store
257
+
```
258
+
259
+
Notice that we start the `obj-store` service too, in addition to the normal `dev-service`.
260
+
261
+
1. Log in to the file storage backend UI at http://localhost:9001 with `mathesar`/`mathesar`. Create a new storage bucket in the UI called "mathesar-storages".
262
+
263
+
At this point you can run Mathesar and create new "File" columns in tables. Those columns will present a UI that allows you to attach files to table cells.
264
+
265
+
With the `obj-store` service running, you can return to http://localhost:9001 to view and manage your uploaded files.
266
+
245
267
## Troubleshooting
246
268
247
269
### Permissions within Windows
248
270
249
-
- Running Script in powershell is disabled by default in windows , you have to change permission to run scripts [Official Docs ](https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.security/set-executionpolicy?view=powershell-7.2)
271
+
- Running Script in powershell is disabled by default in windows , you have to change permission to run scripts [Official Docs ](https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.security/set-executionpolicy?view=powershell-7.2)
Copy file name to clipboardExpand all lines: mathesar_ui/src/i18n/languages/en/dict.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -165,7 +165,7 @@
165
165
"create_table_move_columns": "Create Table and Move Columns",
166
166
"currently_installed": "Currently Installed",
167
167
"custom": "Custom",
168
-
"custom_database_nickname_label_help": "Selecting this option can help you differentiate between multiple databases with the name name on separate PostgreSQL severs. You can modify this later if needed.",
168
+
"custom_database_nickname_label_help": "Selecting this option can help you differentiate between multiple databases with the same name on separate PostgreSQL servers. You can modify this later if needed.",
0 commit comments