Hello Flask!
Simple Hello World using Flask
- Install Flask
$ pip install flask
- Install Apache2 and WSGI, Git
$ sudo apt-get install apache2 libapache2-mod-wsgi git
- Clone this repo to
/var/www/
directory
$ git clone https://github.com/repodevs/hello-flask.git /var/www/hello-flask
- Copy this
apache2/hello.conf
config tosite-available
apache2 directory
$ sudo cp apache2/hello.conf /etc/apache2/sites-available/
- Enable configuration and disable default apache2 configuration
$ sudo a2dissite 000-default.conf
$ sudo a2ensite hello.conf
$ sudo service apache2 reload
- Open in your browser http://127.0.0.1