Skip to content

100Shapes/100shapes.github.com

Repository files navigation

100shapes Site

This site is now build on Django.

It knows how to render itself out to a static folder and also includes a blog written in markdown files.

Getting set up

Make a virtual directory for the project:

mkvirtualenv 100shapes.com

Clone the repo to where you normally keep code:

cd ~/Projects/
git clone [email protected]:100Shapes/100shapes.com.git 100shapes.com
cd 100shapes.com/
setvirtualenvproject

Install the requirements:

pip install -r requirements.txt

Run setup and add your S3 details:

fab setup

Link to the 100shapes posts:

ln -s path/to/drive/Site/posts/ ohs_site/blog/

Building the Static site

Run:

fab build

and everything will be made in ohs_site/build/.

Deploying

Make sure you've copied .env with your Amazon S3 details, run:

fab deploy