Skip to content

Commit

Permalink
[docs][without-docker]: make the docs more verbose wherever needed (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
mngshm authored Nov 5, 2024
2 parents 228cea5 + 7689e0a commit b6e5703
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions docs/docs/self-hosting/guides/standalone-ente.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,16 +70,24 @@ createuser -s postgres

## Start Museum

Start by cloning ente to your system.

```sh
git clone https://github.com/ente-io/ente
```

```sh
export ENTE_DB_USER=postgres
export ENTE_DB_USER=postgres
cd ente/server
go run cmd/museum/main.go
```

You can also add the export line to your shell's RC file, to avoid exporting the environment variable every time.

For live reloads, install [air](https://github.com/air-verse/air#installation). Then you can just call air after declaring the required environment variables. For example,

```sh
ENTE_DB_USER=ente_user
ENTE_DB_USER=postgres
air
```

Expand Down

0 comments on commit b6e5703

Please sign in to comment.