This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Posts form the foundation for most of our web applications.

Use

Prepare environment.

export VIRTUAL_ENV=~/.virtualenvs/crosscompute
virtualenv ${VIRTUAL_ENV}
source ${VIRTUAL_ENV}/bin/activate

Install package.

PYTHON_PACKAGE=~/Projects/invisibleroads-packages/posts
NODE_PACKAGE=${PYTHON_PACKAGE}/node_modules/invisibleroads-posts

cd ~/Projects
git clone git@github.com:invisibleroads/invisibleroads-posts

cd ${PYTHON_PACKAGE}
${VIRTUAL_ENV}/bin/pip install -e .

Create project.

cd ~/Projects
${VIRTUAL_ENV}/bin/pcreate -s ir-posts xyz

Install project.

cd ~/Projects/xyz
${VIRTUAL_ENV}/bin/pip install -e .

Launch development server.

${VIRTUAL_ENV}/bin/pserve development.ini

Launch production server.

${VIRTUAL_ENV}/bin/pserve production.ini

Recreate

Use starter scaffold.

cd ~/Experiments
${VIRTUAL_ENV}/bin/pcreate -s starter invisibleroads-posts
SOURCE_FOLDER=~/Projects/invisibleroads-posts
TARGET_FOLDER=~/Experiments/invisibleroads-posts

Add .gitignore.

wget https://raw.githubusercontent.com/github/gitignore/master/Python.gitignore \
    -O ${TARGET_FOLDER}/.gitignore
vimdiff ${TARGET_FOLDER}/.gitignore ${SOURCE_FOLDER}/.gitignore

Update configuration files.

vimdiff ${TARGET_FOLDER}/MANIFEST.in ${SOURCE_FOLDER}/MANIFEST.in

mv ${TARGET_FOLDER}/CHANGES.{txt,rst}
vimdiff ${TARGET_FOLDER}/CHANGES.rst ${SOURCE_FOLDER}/CHANGES.rst

mv ${TARGET_FOLDER}/README.{txt,rst}
vimdiff ${TARGET_FOLDER}/README.rst ${SOURCE_FOLDER}/README.rst

vimdiff ${TARGET_FOLDER}/development.ini ${SOURCE_FOLDER}/development.ini
vimdiff ${TARGET_FOLDER}/production.ini ${SOURCE_FOLDER}/production.ini

vimdiff ${TARGET_FOLDER}/setup.py ${SOURCE_FOLDER}/setup.py

Update package files.

vimdiff \
    ${TARGET_FOLDER}/invisibleroads_posts/__init__.py \
    ${SOURCE_FOLDER}/invisibleroads_posts/__init__.py
vimdiff \
    ${TARGET_FOLDER}/invisibleroads_posts/views.py \
    ${SOURCE_FOLDER}/invisibleroads_posts/views.py
rm ${TARGET_FOLDER}/invisibleroads_posts/tests.py

Prepare templates.

TEMPLATES_FOLDER=${TARGET_FOLDER}/invisibleroads_posts/templates
rm ${TARGET_FOLDER}/invisibleroads_posts/templates/*
mkdir ${TEMPLATES_FOLDER}
cp ${SOURCE_FOLDER}/invisibleroads_posts/templates/* ${TEMPLATES_FOLDER}
vim ${TEMPLATES_FOLDER}/base.jinja2
vim ${TEMPLATES_FOLDER}/posts.jinja2

Prepare assets.

ASSETS_FOLDER=${TARGET_FOLDER}/invisibleroads_posts/assets
rm ${TARGET_FOLDER}/invisibleroads_posts/static/*
mv ${TARGET_FOLDER}/invisibleroads_posts/static ${ASSETS_FOLDER}
cp ${SOURCE_FOLDER}/invisibleroads_posts/assets/favicon.ico ${ASSETS_FOLDER}
cp ${SOURCE_FOLDER}/invisibleroads_posts/assets/robots.txt ${ASSETS_FOLDER}
cp ${SOURCE_FOLDER}/invisibleroads_posts/assets/whoops.html ${ASSETS_FOLDER}
cd ${TARGET_FOLDER}
bash refresh.sh

Add Bootstrap.

VERSION=3.3.6
URL=https://github.com/twbs/bootstrap/releases/download
cd ~/Documents
wget ${URL}/v${VERSION}/bootstrap-${VERSION}-dist.zip
unzip bootstrap-${VERSION}-dist.zip
cd ~/Documents/bootstrap-${VERSION}-dist
mkdir -p ${ASSETS_FOLDER}/bootstrap/css
mkdir -p ${ASSETS_FOLDER}/bootstrap/js
cp css/bootstrap.min.css ${ASSETS_FOLDER}/bootstrap/css
cp js/bootstrap.min.js ${ASSETS_FOLDER}/bootstrap/js

Add JQuery.

VERSION=1.12.4
cd ${ASSETS_FOLDER}
wget http://code.jquery.com/jquery-${VERSION}.min.js -O jquery.min.js

0.5

  • Assemble site.min.css and site.min.js from website.dependencies
  • Update posts scaffold to use website.dependencies

0.4

  • Add page_description
  • Add confirmation_modal
  • Fix Python 3 compatibility

0.3

  • Add extensible command line script

0.2

  • Replace mako with jinja2

0.1

  • Add posts scaffold
Release History

Release History

0.5.2

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.5.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.5.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.4.9.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.4.9

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.4.8

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.4.7

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.4.6

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.4.5

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.4.4

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.4.3

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.4.2

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.4.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
invisibleroads-posts-0.5.2.tar.gz (143.5 kB) Copy SHA256 Checksum SHA256 Source Nov 23, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting