Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mac vagrant fix #23

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion account-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ The above steps set git and GitHub to use your SSH key as a way to connect to yo
git config --global user.email "[email protected]"
```

**Enter the following command in your web development environment**, and also be sure to adjust the email address in the command you execute to be your name instead of the `Your Name` value.
**Enter the following command in your web development environment**, and also be sure to adjust the text in the command you execute to be your name instead of the `Your Name` value.

```
git config --global user.name "Your Name"
Expand Down
19 changes: 18 additions & 1 deletion mac-vagrant.md
Original file line number Diff line number Diff line change
Expand Up @@ -221,10 +221,27 @@ After your server finishes spinning up and the text that says User Ctrl-C to st

You will be able to preview the application in your web browser and it will look like the following:

![image alt text](images/mac-vagrant-image_5.png)
![image alt text](images/mac-vagrant-image_9.png)

If you see this page, it means you've finished setting up your application and can preview an application that is running.

If you see a page not found, be sure to fully restart your browser by following these instructions:

1. Open your dock

2. Right click the browser you are using (Google Chrome, Safari, Firefox, etc...) and tap Quit. This should make the little dot below it disappear. If this fails, right click it again and tap Force Quit.

3. Reopen that broswer and attempt to go to the url again: [http://127.0.0.1:3030](http://127.0.0.1:3030/).

4. During the `vagrant up` command, ports may have been redirrected. The example below would infer http://127.0.0.1:****/ would work by filling in **** with the port `2204`.

`
==> default: Fixed port collision for 3000 => 3030. Now on port 2204.
`


5. If the problem continues, setting up your environment with a [cloud IDE] (https://github.com/university-bootcamp/coding-environment/blob/master/cloud-ide.md) may be a better solution.

## Step Seven: Stop Your Rails Server

The command you ran above started running a server that can be previewed in a web browser. Before we finish, we should close the program we just opened.
Expand Down