@@ -97,7 +97,7 @@ docker compose run --rm ui /lila/ui/build -w
97
97
If you edit the ` conf/routes` file, you' ll need to update the route cache.
98
98
99
99
```bash
100
- docker compose exec lila bash -c " ./lila playRoutes"
100
+ docker compose exec lila ./lila playRoutes
101
101
```
102
102
103
103
### To add translation keys:
@@ -155,7 +155,7 @@ If you're making changes to the Scalachess library, you can have lila use it ins
155
155
3. Publish the local scalachess changes and restart lila:
156
156
157
157
` ` ` bash
158
- docker compose exec lila bash -c " cd /scalachess && sbt publishLocal"
158
+ docker compose exec -w /scalachess lila sbt publishLocal
159
159
docker compose restart lila
160
160
` ` `
161
161
@@ -211,7 +211,7 @@ By default, your local lila instance will use the version of chessground that is
211
211
2. Start the chessground compiler in watch mode:
212
212
213
213
` ` ` bash
214
- docker compose run --rm ui bash -c " cd /chessground && pnpm install && pnpm run compile --watch"
214
+ docker compose run --rm -w /chessground ui bash -c " pnpm install && pnpm run compile --watch"
215
215
` ` `
216
216
217
217
3. Start the lila ui build in watch mode:
@@ -227,7 +227,7 @@ Then you can see the updated chessground demo at http://localhost:8090/demo.html
227
227
To re-compile the PGN Viewer after making changes:
228
228
229
229
` ` ` bash
230
- docker compose run --rm ui bash -c " cd /pgn-viewer && pnpm run sass-dev && pnpm run bundle-dev"
230
+ docker compose run --rm -w /pgn-viewer ui bash -c " pnpm run sass-dev && pnpm run bundle-dev"
231
231
` ` `
232
232
233
233
See the changes on the PGN Viewer demo page: http://localhost:8091/
0 commit comments