Skip to content

Commit

Permalink
#2369 fix option 2 run frontend only commands
Browse files Browse the repository at this point in the history
  • Loading branch information
cindyorangis committed Oct 28, 2021
1 parent db03b59 commit e20c971
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions docs/environment-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,25 +112,19 @@ newgrp docker
12. Run to download the current stable version of Docker-Compose:

```
sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
```

13. Apply executable permissions to the downloaded file:

```
sudo chmod +x /usr/local/bin/docker-compose
```

14. Check installation using:

```
docker-compose --version
```

_NOTE: This will not work on WSL (Windows Subsystem for Linux). Use the approach listed above under WSL._
Expand Down Expand Up @@ -198,7 +192,9 @@ If this doesn't work for you, it is possible that you have an old `.env` file in
#### Option 2: Run frontend only

```bash
docker-compose --env-file ./config/env.staging up -d
cp config/env.staging .env

npm run dev
```

Then visit `localhost:8000` in a web browser
Expand Down

0 comments on commit e20c971

Please sign in to comment.