Skip to content

Commit

Permalink
add instructions for accessing hyku.test on windows machines
Browse files Browse the repository at this point in the history
  • Loading branch information
alishaevn committed Sep 6, 2023
1 parent 10c56d8 commit b1a266b
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,15 @@ dory up
docker-compose up web
```

This command starts the whole stack in individual containers allowing Rails to be started or stopped independent of the other services. Once that starts (you'll see the line `Passenger core running in multi-application mode.` to indicate a successful boot), you can view your app in a web browser with at either hyku.test or localhost:3000 (see above). When done `docker-compose stop` shuts down everything.
This command starts the whole stack in individual containers allowing Rails to be started or stopped independent of the other services. Once that starts (you'll see the line `Passenger core running in multi-application mode.` or `Listening on tcp://0.0.0.0:3000` to indicate a successful boot), you can view your app in a web browser at either hyku.test or localhost:3000 (see above). When done `docker-compose stop` shuts down everything.

_NOTE: if you're on a Windows machine, dory is running but you're unable to access hyku.test, try the steps below:_
- Run this in the terminal: `ip addr | grep eth0 | grep inet`
- Copy the first IP address from the result in your terminal
- Use the steps under "Change the File Manually" at [this link](https://www.hostinger.co.uk/tutorials/how-to-edit-hosts-file#:~:text=Change%20the%20File%20Manually,-Press%20Start%20and&text=Once%20in%20Notepad%2C%20go%20to,space%2C%20then%20your%20domain%20name) to open your host file
- At the bottom of the host file add this line: `<your-ip-address> hyku.test`
- Save
_You may or may not need to restart your server_

#### Tests in Docker

Expand Down

0 comments on commit b1a266b

Please sign in to comment.