-
Notifications
You must be signed in to change notification settings - Fork 9
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
Enhancement Request: Test Environment Setup Guide #8
Comments
I think you just run setup-and-run-8081.sh for a test server on port 8081. |
The easiest choice would be directly using bottle server by running |
Hi Jeff, I've add a first version of a short guide on how to deploy a test server and also how to deploy a production server here: Please let me know if you meet problems when following this guide or have any suggestions on how to improve it. Thanks! |
Hey Charles, At the step to install mod-macro: I get the following:
It looks like for ubuntu 15.10 and newer, mod-macro has been folded into apache2-bin which is installed with apache2 by default Also the guide has a typo at line 24: https://github.com/eisop/webserver/blob/master/README-eisop.txt#L24 and it would be better to separate The second a2enmod line of command results in the following:
Are the modules Lastly, for step 3 of https://github.com/eisop/webserver/blob/master/README.md what exactly do we need to configure? |
Maybe this way is confusing, I will enhance it. Thanks a lot! |
For step 3 of https://github.com/eisop/webserver/blob/master/README.md, there actually have several things need to be configure. The comments in https://github.com/eisop/webserver/blob/master/wsgi-scripts/checkerweb-wsgi.conf Maybe I should have a more detail instruction here... Will update it soon. |
Hi Jeff, I've already add a detail instruction on configuring apache2 host files.
Hope that would be helpful. Thanks! |
Hey Charles, After updating the macro line with my local folder name (webserver), host name (localhost), and user name, i kept getting this error:
It turns out that https://github.com/eisop/webserver/blob/master/wsgi-scripts/checkerweb-wsgi.conf#L19 is the cause, where it sets the user and group name to I've fixed this user and group ID problem locally by replacing No such file or directory: AH02291: Cannot access directory '/var/www/webserver/log/' for error log of vhost defined at macro 'vhost_checkerweb' (d...b-wsgi.conf":1 This one was fixed by manually creating an empty With these 2 fixes, I'm able to run the server at http://localhost/live. |
Hi Jeff, Good to hear finally the web server is runnable in your local machine! I've checked the configure file in eisop. It seems The I will think about how to fix these issues and let you know the result. Thanks a lot for testing and providing so many useful feedback! |
eisop runs Red Hat Enterprise Linux and there the user is called apache. I also had to manually create the |
Sure, I will automate the creation of |
It would be good to provide a short instruction document to contributors of this project (present or future) on how to get a test environment running, namely the web server and how it should be configured.
The text was updated successfully, but these errors were encountered: