Skip to content

Commit 1a5a030

Browse files
authored
Merge branch 'main' into mobile
2 parents 6228450 + a8ac350 commit 1a5a030

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ docker compose run --rm ui /lila/ui/build -w
9797
If you edit the `conf/routes` file, you'll need to update the route cache.
9898
9999
```bash
100-
docker compose exec lila bash -c "./lila playRoutes"
100+
docker compose exec lila ./lila playRoutes
101101
```
102102
103103
### To add translation keys:
@@ -155,7 +155,7 @@ If you're making changes to the Scalachess library, you can have lila use it ins
155155
3. Publish the local scalachess changes and restart lila:
156156

157157
```bash
158-
docker compose exec lila bash -c "cd /scalachess && sbt publishLocal"
158+
docker compose exec -w /scalachess lila sbt publishLocal
159159
docker compose restart lila
160160
```
161161

@@ -211,7 +211,7 @@ By default, your local lila instance will use the version of chessground that is
211211
2. Start the chessground compiler in watch mode:
212212

213213
```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"
215215
```
216216

217217
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
227227
To re-compile the PGN Viewer after making changes:
228228

229229
```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"
231231
```
232232

233233
See the changes on the PGN Viewer demo page: http://localhost:8091/

lila-docker

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,12 @@ setup_database() {
5959
sleep 1
6060
done
6161

62-
docker compose run --rm python bash -c \
63-
"python /lila-db-seed/spamdb/spamdb.py --uri=mongodb://mongodb/lichess --password=$PASSWORD --su-password=$SU_PASSWORD --es --es-host=elasticsearch:9200"
62+
docker compose run --rm python python /lila-db-seed/spamdb/spamdb.py \
63+
--uri=mongodb://mongodb/lichess \
64+
--password=$PASSWORD \
65+
--su-password=$SU_PASSWORD \
66+
--streamers \
67+
--es --es-host=elasticsearch:9200
6468

6569
docker compose run --rm mongodb mongo --quiet --host mongodb lichess /lila/bin/mongodb/indexes.js
6670
docker compose run --rm mongodb mongo --quiet --host mongodb lichess /scripts/mongodb/users.js

0 commit comments

Comments
 (0)