You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2019/05/17 15:07:37 UTC

[GitHub] [incubator-superset] doctording opened a new issue #7537: master branch run problems, can I add a run.py

doctording opened a new issue #7537: master branch run problems, can I add a run.py
URL: https://github.com/apache/incubator-superset/issues/7537
 
 
   when git clone, how to run the master branch project instead of `pip install superset`
   
   my environment to run master branch project
   * ubuntu18.04.1 x86_64 GNU/Linux
   * Python 3.6.7
   * node 8.10.0
   
   when use `superset runserver -d` as introduced at https://superset.incubator.apache.org/installation.html
   
   ```python
   -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
   Starting Superset server in DEBUG mode
   -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
   
   [DEPRECATED] As of Flask >=1.0.0, this command is no longer supported, please use `flask run` instead, as documented in our CONTRIBUTING.md
   [example]
   flask run -p 8080 --with-threads --reload --debugger
   ```
   it's right.
   
   in fact I use pycharm and a `run.py`()
   
   ![image](https://user-images.githubusercontent.com/11834821/57937181-fd186380-78f7-11e9-8157-dadd76c213b3.png)
   
   the content of `run.py`
   
   ```python
   from superset import app
   app.run(debug=True, host='0.0.0.0', port=8080)
   ```
   
   ![image](https://user-images.githubusercontent.com/11834821/57937363-5da7a080-78f8-11e9-826b-232091f21c88.png)
   
   it works well, so can I add the `run.py` file to master branch
   
   
   
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org