Flask is a microframework for Python based on Werkzeug, Jinja 2 and good intentions.

learn more… | top users | synonyms

0
votes
1answer
43 views

Apache WSGI + Flask, get 404 error

I tried to set up a hello world Flask app on Apache, following its document. What I got is, % cat /etc/apache2/sites-available/flask.conf <VirtualHost *:80> WSGIScriptAlias /py /var/www/...
-1
votes
1answer
81 views

How to run aws file on localhost

I'm new to Ubuntu and I installed python-flask and apache2 on my machine. I wish to run a python project that is presented in aws server. When I run the code it sucessfully runs on port 0.0.0.0:5000 ...
1
vote
0answers
30 views

PermissionError: [Errno 13] in python .webassets-cache

So I got a 500 error after trying out a flask_assets Bundle. I have it working on my local machine, made to use Pyscss. But once I deployed I checked the error.log and saw that I had a PermissionError:...
1
vote
0answers
154 views

Port Forward Flask Server in local network

I have a Flask app from flask import Flask app = Flask(__name__) @app.route('/') def index(): return 'Hello, world!' if __name__ == '__main__': app.run(host='0.0.0.0', port=7777, debug=...
0
votes
0answers
156 views

Getting error when trying to install flask Bcrpt

I am trying to install flask-bcrypt but get the error at the bottom of the below code. I cant seem to figure out what is going wrong. I am pretty new to the linux world so any help would be greatly ...
0
votes
0answers
94 views

Keep getting error trying to download bcrypt

I am trying to import for an app in pycharm.I am new to the linux world so i'm trying to figure things out. Error below. Using cached Flask-Bcrypt-0.7.1.tar.gz Requirement already satisfied (use --...
0
votes
0answers
31 views

How to host multiple websites using subdomain on a single machine?

I have a ubuntu server with an public ip to host a flask website. I also have the public web url www.mywebsite.com point to this ip address. Now, I want to and a second website at this server with ...
0
votes
0answers
154 views

nginx configuration to serve index.html on root and allow flask API at server side only

I've been trying since a few days to properly configure nginx and flask, with poor success could you please debrief? First time I deploy my first flask app on EC2 My goal: expose the APIs to the end ...