Posts by Caio • 171 points
2 posts
-
2
votes1
answer359
viewsA: Add PHP Extensions to Docker Compose
You can use the command command to install a new extension: # docker-compose.yml phpfpm: command: sh -c "apk update && apk upgrade && apk add postgresql-dev &&…
-
5
votes3
answers237
viewsA: Modules in Rust
If you wish to game.rs and game_state.rs stay in the same root directory of main.rs, you must declare the modules in the file itself main.rs. // src/main.rs mod game; mod game_state; Modules can…