Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 796 Bytes

README.md

File metadata and controls

35 lines (26 loc) · 796 Bytes

Flask Headlines

Flask Headlines Project taken from Flask By Example Ebook


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