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
Need basic installation documentation #4
Comments
Agreed, this project is exactly what I am looking for but having some issues getting it up and running. I am currently trying to get phagrancy running with the following docker-compose file:
The process is not fully automated yet in docker-compose until I can figure out all the steps necessary, but for now, I run the above (
At this point things are running and I can see the web requests in the docker-compose output. If I try something like this within the container shell:
The request does not seem to work. I get a 404 page back. I was thinking that this should upload that dummy test box into data/storage/myuser/testbox/ or something like that? Any suggestions would be much appreciated! Thanks |
@ankitmundra88 I'll take a look at better instructions this week for Apache & Nginx. @mclamb It looks like the api token is missing from the CURL request. Other than that, make sure that the Since you are using Nginx you'll need to change |
Thanks for the help. I ensured that /var/www/data/storage does exist and tried it with root ownership as well as nginx (root owns the master php-fpm process, nginx owns its worker children) Is this the correct box upload with the access_token:
I am still getting a 404 in the logs on the server side:
Just to be clear, the .env file should exist at the WEBROOT, correct? In my case it is in /var/www/html in the container. I have restarted nginx and php-fpm a number of times as well. I also tried with an absolute storage_path="/var/www/html/data/storage" Is there a requirement to do anything prior to uploading the box like this? It seems like the real Vagrant Cloud API requires calls to create the box, version, provider, then a preparation for upload, and finally the upload API call itself (https://www.vagrantup.com/docs/vagrant-cloud/api.html) Thanks! |
@ankitmundra88 Do these configurations help any? https://github.com/dlundgren/phagrancy/wiki/Web-server-setup |
@mclamb I had to reconfigure the PHP block in the docker image to the following in order to get it to work.
|
I'm really excited about this project as it looks to provide much better support for really large boxes but I had similar problems getting it working. I have a few suggestions that would make it easier, more than happy to put up a pull request for the wiki.
|
I've made a start of some of these things in a forked Wiki here: |
@syntacticvexation I learned how to merge your wiki in. Thanks for writing that! |
@dlundgren
We are trying to install the phagrancy on Oracle Linux 6. We have been able to host the application but are not able to check whether it is properly running or not.
Can we have a documentation that would provide us with the information on what httpd.conf we would need to host the application correctly.
Also the curl command provided in the readme.md are incorrect. As the httpd is hosted on port 80 and not port 8099.
Having a basic documentation stating what needs to be placed where and what configuration should be done for apache would help a lot.
Thanks for building the application though. :-)
The text was updated successfully, but these errors were encountered: