Added Vagrantfile for easy launching#66
Added Vagrantfile for easy launching#66bluebaroncanada wants to merge 9 commits intobshaffer:masterfrom
Conversation
|
Thanks! |
…ory where the lib resides
|
A Dockerfile would also be a nice touch |
|
Also, it would be good to link to Vagrant installation in the README for users who want to try Vagrant but do not have it set up. |
bshaffer
left a comment
There was a problem hiding this comment.
I got the error General error: 14 unable to open database file when running the Authorization code, refresh, and implicit flows, and the error Failed to connect to localhost port 8081 when running the User Credentials flow. I also received the oauth error Invalid or missing response type when running OpenID's ID Token flow.
|
|
||
| ## With Vagrant | ||
|
|
||
| $ vagrant up |
There was a problem hiding this comment.
Include installation instructions and instructions on what to do after this command, i.e. Now browse to http://localhost:8080 to see the OAuth2 Demo Application
There was a problem hiding this comment.
Ah, yes. My bad. Will fix.
There was a problem hiding this comment.
Hmm. I'm having none of these errors. Can you give me some instructions on how to recreate?
There was a problem hiding this comment.
I don't even see where in the code you're connecting to 8081.
There was a problem hiding this comment.
Ok. Figured it out. Now I'm getting the connection error. Fixing ...
|
I could do that, but there are several issues with Docker that really boil down to: Docker is meant for production environments. The idea is to have as little running on one container as possible; separating the web server from the DB. Even setting up SSH is a PITA, whereas for Vagrant you just type |
|
No, I totally agree about linking to vagrant's documentation. Currently there is no link. Also, I believe further setup is required, as I was receiving errors. So really, just do a few things to flesh out the vagrant instructions:
|
| Installation | ||
| ------------ | ||
|
|
||
| We have provided a Vagrantfile for easy installation. Vagrant is software that controls some of the major virtualization software such as [VMWare Workstation](https://www.vmware.com/products/workstation.html) and [Oracle VirtualBox](https://www.virtualbox.org/). With a simple text file, you can clone a machine to run locally on your computer. More details can be found at https://www.vagrantup.com. |
There was a problem hiding this comment.
These instructions should be moved under ## With Vagrant, as they are specific to that section. Also, the vagrant hyperlink at the end should be actually linked, i.e. [https://www.vagrantup.com](https://www.vagrantup.com)
|
Is that after the changes I posted about an hour ago? |
|
Can you try checking out my latest changes and then run |
|
|
||
| a2enmod rewrite | ||
| echo "xdebug.remote_enable=on" >> /etc/php/5.6/apache2/conf.d/xdebug.ini | ||
| echo "xdebug.remote_host=192.168.34.1" >> /etc/php/5.6/apache2/conf.d/xdebug.ini |
There was a problem hiding this comment.
This address seems oddly specific (192.168.34.1). Why is that?
There was a problem hiding this comment.
I believe that 33 is the default. I could be wrong.
There was a problem hiding this comment.
33 definitely used to be/possibly is still the default. Doing a quick Google search returns tons of documents with 192.168.33.1.
|
@bluebaroncanada unfortunately I'm still getting the error: |
|
So weird. Are you on Mac or Linux by chance and you don't have |
|
@bshaffer did you check the permissions on your |
No description provided.