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

learn more… | top users | synonyms

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:...
0
votes
1answer
45 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/...
2
votes
2answers
2k views

Nginx: unknown directive “uwsgi_param” in /etc/nginx/uwsgi_params:1

Using this deployment tutorial, I'm trying to get an Ubuntu 12.04 server up and running with Flask, uWSGI and Nginx. I now have trouble getting Nginx to run. When I try to (re)start nginx it simply ...
0
votes
0answers
160 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
98 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 ...
2
votes
1answer
2k views

nginx uwsgi internal server error 500 - http uwsgi header: “Connection: close”

I am using a small server with nginx and a python flask app on aws, and uwsgi. It has already happened twice that the server went down with error 500, and no logs on behalf of nginx. I am not expert, ...
0
votes
0answers
161 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 ...
-1
votes
1answer
82 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
158 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=...
2
votes
1answer
595 views

install Flask as a virtual environment whith virtualenv.py in 12.10

I am trying to follow this Tutorial to learn flask. I have never used python before and a relatively new to linux too so sorry if I am asking a very basic question. I have installed python version 2....
2
votes
1answer
4k views

Installation issues for Virtualenv and VirtualenvWrapper in 13.04

Ubuntu Server in VirtualBox. I am trying to install VirtualEnv to start learning Flask and bottle. Some details of my setup. vks@UbSrVb:~$ cat /etc/os-release NAME="Ubuntu" VERSION="12.04.2 LTS, ...