EdwardBetts / depicts

Wiki Art Depiction Explorer
https://art.wikidata.link/
GNU General Public License v3.0
4 stars 3 forks source link

how to run the application? #16

Open leoplal opened 4 years ago

leoplal commented 4 years ago

Hi Edward,

I'm not a Python programmer (more PHP and some NodeJS). After some googling I think a Python Flask application is run by:

$ export FLASK_APP=app.py $ python -m flask run

However this gives me module errors:

 * Serving Flask app "app.py"
 * Environment: production
   WARNING: This is a development server. Do not use it in a production deployment.
   Use a production WSGI server instead.
 * Debug mode: off
Usage: python -m flask run [OPTIONS]

Error: While importing "app", an ImportError was raised:
...
ModuleNotFoundError: No module named 'inflect'

How does one install all the modules used in this application? Like how in NodeJS I can type "npm install".

Could you please add a section in the README that describes the install & run process?

Thanks!

EdwardBetts commented 4 years ago

I'll add a README.

waldenn commented 2 years ago

Would be nice to see a README with some remarks on how to run this Flask application.