-
Notifications
You must be signed in to change notification settings - Fork 260
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
Add vagrant #186
Add vagrant #186
Conversation
I'm most familiar with rbenv. rvm, chruby and rbenv will all do what we want. I can set it up with any of them and chruby is in the docs. Any opinions? @tkwidmer |
everything but the db setup is working here. I'm getting the error: 'PG::ConnectionBad: FATAL: database "bathrooms_development" does not exist', but I'm a bit too tired to keep digging atm |
Also, I changed the wiki, but I don't like that you can PR and would prefer moving back to the README. That may be a personal preference though. |
Also, I'll probably turn this into a chef cookbook if it gets and more complex/I have any more bash issues. It would honestly have been about the same amount of code 😒 |
You can also use CONTRIBUTING.md
|
Awesome, thanks @mi-wood. I added One more thing that I needed to change to get this to work is, on the VM, change the authentication methods for postgres ( A few other small things:
|
We can move to a contributing.md file |
@cllns Did the localhost -> "" workaround not alleviate the postgres permission issue? I wanted to avoid touching the pg_hba.conf, since it requires templating to avoid touching it manually. I know this is a hack, so I can just work on a chef cookbook instead, since it would help a lot with anything like this. Removed the bundle quiet flag, since it does look like it's just hanging. I'll see if the --gemfile helps too. Adding contributing.md. We can always merge this when it's ready and I'll work on chef in the meantime. |
Ill let you merge it yourself when its functional |
@cllns I don't have to modify the postgres configs to have this work start to finish. Can you double check this PR and then I'll merge it? |
Could we add
to download the box automatically? |
also i think it needs new ruby versions, etc because of #175 |
@gnarf I believe the box already should download from the vagrant cloud by default, but I could be wrong. The script pulls from the .ruby-version file, so it will update ruby whenever that file is updated in the repo. I found a workaround for templating the postgres conf, so I'll put that fix in this weekend and this can be merged. |
To confirm this functionality, 'If config.vm.box is a shorthand to a box in Vagrant Cloud then this value doesn't need to be specified.' https://docs.vagrantup.com/v2/vagrantfile/machine_settings.html |
Maybe I was using an out of date vagrant
|
|
@cllns @tkwidmer making PR for comments sake
resolve #180