Skip to content

Commit 1dd73f4

Browse files
libyjyn514
authored andcommitted
Update the section about .env in README.md
1 parent 07f7edc commit 1dd73f4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ mkdir -p ignored/cratesfyi-prefix/crates.io-index
6464
cargo build
6565
# Start the external services
6666
docker-compose up -d db s3
67-
# anything that doesn't run via docker-compose needs the settings defined in
68-
# .env. Either via `. .env` as below, or via any dotenv shell integration.
69-
. .env
67+
# anything that doesn't run via docker-compose needs the settings defined in
68+
# .env. Either via `. ./.env` as below, or via any dotenv shell integration.
69+
. ./.env
7070
# Setup the database you just created
7171
cargo run -- database migrate
7272
# Build a sample crate to make sure it works
@@ -79,7 +79,7 @@ cargo run -- build add-essential-files
7979
# It does not automatically run the migrations, so you need to do that manually (see above).
8080
cargo run -- start-web-server
8181
# If you want the server to automatically restart when code or templates change
82-
# you can use `cargo-watch`:
82+
# you can use `cargo-watch`:
8383
cargo watch -x "run -- start-web-server"
8484
```
8585

@@ -215,7 +215,7 @@ If you want to explore or edit database manually, you can connect to the databas
215215
with the `psql` command.
216216

217217
```sh
218-
. .env
218+
. ./.env
219219
psql $DOCSRS_DATABASE_URL
220220
```
221221

0 commit comments

Comments
 (0)