Skip to content

repodevs/hello-flask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages