Fix README instructions following path changes

This commit is contained in:
Sylvain Huguet 2024-04-02 07:34:55 +02:00
parent 0e033348f0
commit e4bd62b84c

View File

@ -45,15 +45,15 @@ This will launch Puter at http://localhost:4000 (or the next available port).
### Using Docker
```bash
mkdir puter && cd puter && mkdir config data && sudo chown -R 1000:1000 config data && docker run --rm -p 4100:4100 -v `pwd`/data:/opt/puter/app/volatile/runtime -v `pwd`/config:/opt/puter/app/volatile/config ghcr.io/heyputer/puter
mkdir puter && cd puter && mkdir -p puter/config puter/runtime && sudo chown -R 1000:1000 puter && docker run --rm -p 4100:4100 -v `pwd`/data:/opt/puter/app/volatile/runtime -v `pwd`/config:/opt/puter/app/volatile/config ghcr.io/heyputer/puter
```
### Using Docker Compose
```bash
mkdir puter && cd puter
mkdir data config
sudo chown -R 1000:1000 config data
mkdir -p puter/config puter/runtime
sudo chown -R 1000:1000 puter
wget https://raw.githubusercontent.com/HeyPuter/puter/main/docker-compose.yml
docker compose up
```