Personal website
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
content
plugins
themes
.gitignore
.gitmodules
LICENSE
README.md
init_makefile.py
new.py
pelicanconf.py
publishconf.py
requirements.txt

README.md

mitchbarry.com

Personal Website & Blog built with Pelican!

##Required Software

  1. Python (2.4+, 3.0+)
  2. pip Python Package Manager (pip Installation Guide) - already bundled with Python >= 3.4 release

##Getting Started

$> git clone https://github.com/mitch-b/web
$> cd web

The Pure CSS theme lives in another repo. To pull it into your local workspace, initialize the submodule.

$> git submodule update --init --recursive

##Create new VirtualEnv (Optional)

$> virtualenv ~/venv/web && source ~/venv/web/bin/activate

##Dependencies & Setup

$> pip install -r requirements.txt

##Generating Static Site

$> pelican content/ -s pelicanconf.py
$> cd output && python -m SimpleHTTPServer

Now, view your site at http://localhost:8000/

##Deploying

Run the init_makefile.py module to generate the Makefile you'll want for deployment. Answer the questions at each prompt, and the file will be created. Then you can run the following command to use rsync to deploy your source.

$> python init_makefile.py # answer prompts
$> make rsync_upload

##Tips

If you want to keep Pelican updating your output directory, you can open a new window and run the following command:

$> pelican content/ -s pelicanconf.py --autoreload

###Licenses This source is provided under MIT License. This site uses material from:

  1. Pelican - GNUv3
  2. PurePelicanTheme - GPLv3
  3. Some Pelican Plugins (under Pelican License)
  4. Tipue Search - MIT