Update README.md
This commit is contained in:
@@ -2,8 +2,9 @@
|
||||
|
||||
Play the classic game of Battleship against your friends online! Each player will take turns guessing the location of the other player's ships. The first player to sink all of the other player's ships wins!
|
||||
|
||||

|
||||

|
||||
Dark mode | Light mode
|
||||
:-------------------------:|:-------------------------:
|
||||
 | 
|
||||
|
||||
## Development Guide
|
||||
|
||||
@@ -15,4 +16,4 @@ The server and the database services are containarized. Just run `docker compose
|
||||
|
||||
If you are working on the server, you can run `cargo watch -i app -x run` to automatically restart the server when the source code changes, and `docker compose up -d db` to start the database service in the background.
|
||||
|
||||
SQLx is used as the database driver for Rust. The driver automatically tests the SQL query macros at compile time. This can fail the rust-analyzer or `cargo build` if the database isn't setup/running. You can run `docker compose up db` to start the database service. To disable this check altogether, set the `SQLX_OFFLINE` environment variable to `true`.
|
||||
SQLx is used as the database driver for Rust. The driver automatically tests the SQL query macros at compile time. This can fail the rust-analyzer or `cargo build` if the database isn't setup/running. You can run `docker compose up db` to start the database service. To disable this check altogether, set the `SQLX_OFFLINE` environment variable to `true`.
|
||||
|
Reference in New Issue
Block a user