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
4. Create a new branch for your feature or bugfix following [Conventional Commits](https://www.conventionalcommits.org/):
64
+
4. Enable the pre-commit hooks (runs lint within the client container + tests before each commit):
65
+
```bash
66
+
git config core.hooksPath .githooks
67
+
```
68
+
69
+
5. Create a new branch for your feature or bugfix following [Conventional Commits](https://www.conventionalcommits.org/):
65
70
```bash
66
71
git checkout -b feat/your-feature-name
67
72
# or
@@ -80,6 +85,18 @@ The project is organized into several key components:
80
85
81
86
## Building and Testing
82
87
88
+
### Running Tests
89
+
```bash
90
+
dotnet test
91
+
```
92
+
93
+
Frontend lint:
94
+
```bash
95
+
cd Lingarr.Client && npm run lint
96
+
```
97
+
98
+
These run automatically on each commit if you enabled the pre-commit hooks (step 4 above).
99
+
83
100
### Development
84
101
Navigate to the root directory and start up the project:
85
102
```bash
@@ -98,22 +115,42 @@ The frontend supports hot reload while the backend needs to be rebuilt each time
98
115
| sonarr |http://localhost:8989|
99
116
| radarr |http://localhost:7878|
100
117
101
-
102
-
### Docker Build
103
-
To build and push the Docker image (if logged into a Docker registry):
104
-
```powershell
105
-
./build-and-push.ps1 -Tag dev
106
-
```
107
-
108
118
## Database Migrations
109
119
120
+
Lingarr uses [FluentMigrator](https://fluentmigrator.github.io/) with a single shared migration project (`Lingarr.Migrations`) that supports SQLite, MySQL, and PostgreSQL.
121
+
110
122
### Creating New Migrations
111
-
Use the provided PowerShell script to create migrations:
0 commit comments