Skip to main content

Web application defaults

Project description

Posts form the foundation for most of our web applications.

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

0.5

  • Add base_url

  • Assemble site.min.css and site.min.js from website.dependencies

  • Add test fixtures for downstream packages

  • Define get_record_id

  • Let child templates override page_author, copyright_year, copyright_author

  • Replace expiration_time with expiration_time_in_seconds

0.4

  • Add confirmation_modal

  • Add page_description

  • Fix Python 3 compatibility

0.3

  • Add extensible command line script

0.2

  • Replace mako with jinja2

0.1

  • Add posts scaffold

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

invisibleroads-posts-0.5.6.2.tar.gz (145.2 kB view details)

Uploaded Source

File details

Details for the file invisibleroads-posts-0.5.6.2.tar.gz.

File metadata

File hashes

Hashes for invisibleroads-posts-0.5.6.2.tar.gz
Algorithm Hash digest
SHA256 61f6a12c5924823a6ed46234c8da00279e44de6fb8b5ecb46ee682779d861af7
MD5 03cdb911f4d441c3f7f115d4fc8c262b
BLAKE2b-256 454e53b6501fbde39746c42a983354f7a78cc087077d5e751615fdd58b3d0ab6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page