vlead / continuous-integration

This repository talks about implementation of continuous-integration project
Other
0 stars 1 forks source link

ADS deployment of CI service app with gunicorn and nginx #29

Open ksripathi opened 7 years ago

ksripathi commented 7 years ago

Continuous Integration service has to be deployed using ADS service on testing, staging environments.

psrikar97 commented 7 years ago

After writing the wsgi py file, when I was trying to run it, there was an error called, no module called wsgi. Please look into it.

psrikar97 commented 7 years ago

ImportError: No module named wsgi [2017-07-03 07:08:50 +0000] [22298] [INFO] Worker exiting (pid: 22298) [2017-07-03 07:08:50 +0000] [22293] [INFO] Shutting down: Master [2017-07-03 07:08:50 +0000] [22293] [INFO] Reason: Worker failed to boot.

Getting this error when I was trying to deploy the flask app. Followed several methods to deploy, all of them seem to converge onto the same error. Tried to deploy using uWSGI and NGINX. Tried to deploy using GUNICORN and NGINX.

ksripathi commented 7 years ago

Updated documentation for installing flask app using Nginx https://github.com/vlead/continuous-integration/blob/nginx-deployment/src/deployment/index.org#deployment-using-nginx-server

ksripathi commented 7 years ago

Added scripts for ADS to deploy the application using gunicorn, uwsgi and nginx Implementation : https://github.com/vlead/continuous-integration/blob/refactor/src/deployment/index.org#install-dependendent-python-packages-1

ksripathi commented 7 years ago

Successfully deployed ci-service using ADS on base4