jjgong7 commented on issue #8903:
URL: 
https://github.com/apache/incubator-superset/issues/8903#issuecomment-663938812


   For anyone else with a similar issue and is running it on virtualenv with 
gunicorn: 
   You need to set your working directory and environment path. See 
instructions 
[here](https://www.digitalocean.com/community/tutorials/how-to-serve-flask-applications-with-gunicorn-and-nginx-on-ubuntu-16-04)
 for more details.
   
   ```
   [Unit]
   Description=Gunicorn instance to serve myproject
   After=network.target
   
   [Service]
   User=ubuntu
   WorkingDirectory=/home/ubuntu/venv
   Environment="PATH=/home/ubuntu/venv/bin"
   ExecStart=/home/ubuntu/venv/bin/gunicorn -c 
/home/ubuntu/venv/gunicorn_config.py "superset.app:create_app()"
   
   [Install]
   WantedBy=multi-user.target
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to