repodevs / hello-flask

Flask Hello World!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hello Flask!

Simple Hello World using Flask


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

About

Flask Hello World!


Languages

Language:Python 100.0%