Scrape websites or read Github repositories and automatically create a portfolio website. Used for http://1200wd.com/
CSS Python HTML Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
static
templates
.gitignore
README.md
github.py
refresh.py
schema.sql
scraper.py
server.py
setup.sh
web1200.wsgi

README.md

Website Generator

Scrape websites or read Github repositories and automatically create a portfolio website. Used to create http://1200wd.com/ but the code is easily adaptable to suit your own needs.

Install

Requires pip installer and virtualenv

$ sudo apt-get install python-pip
$ pip install virtualenv

Run setup file to create a virtual environment and install Flask, requests and Beautiful Soup (bs4)

$ setup.py

In a production environment you can use the wsgi file to run the script throught an Apache server. The built in server from Flask is not recommended for use in a production environment.

To update website run refresh.py or add refresh.py to cron.