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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file invisibleroads-posts-0.5.6.2.tar.gz.
File metadata
- Download URL: invisibleroads-posts-0.5.6.2.tar.gz
- Upload date:
- Size: 145.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
61f6a12c5924823a6ed46234c8da00279e44de6fb8b5ecb46ee682779d861af7
|
|
| MD5 |
03cdb911f4d441c3f7f115d4fc8c262b
|
|
| BLAKE2b-256 |
454e53b6501fbde39746c42a983354f7a78cc087077d5e751615fdd58b3d0ab6
|