Skip to content

nicorellius/acrosite

Repository files navigation

Acrostic Tees

Updated 2020-01-20

There is a T-shirt that a friend wears Thursday, which features something called an 'Acrostic':

So
Happy
It's
Thursday

An acrostic is a poem or other form of writing in which the first letter, syllable or word of each line, paragraph or other recurring feature in the text spells out a word or a message. In this case, the first letter of each word spells a message.

This project is about programmatically generating such clever acrostics, which could be then be put on tee shirts, coffee mugs, and other merchandise.

There is a working version of this here: http://ecrostic.opsys.io/

The (acro)stack

Python 3.2, 3.3 or 3.4 https://www.python.org
Django 1.7 https://www.djangoproject.com/
SQLite3 3.7.9 http://www.sqlite.org/
PostgreSQL 8/9 http://www.postgresql.org/
Apache 2.2 (2.2 and above) http://httpd.apache.org/
WSGI 3.4 (mod_wsgi) http://modwsgi.readthedocs.org/

Dependencies/requirements

Check the requirements.txt file on the root of this repository for up-to-date dependencies and plugins.

#requirements.txt for acrosite
distribute==0.7.3
Django==1.7
django_compressor==1.4
django-localflavor==1.0
django-session-security==2.2.1
django-debug-toolbar==1.2.1
selenium==2.43.0

Also, you will need virtualenv for isolating your Python projects:

http://virtualenv.readthedocs.org
http://virtualenvwrapper.readthedocs.org

Installation

For more details, check out these posts (they needs some cleaning up since they were written a while ago):

Linux:
http://pdxpixel.com/blog/setting-up-django-on-ubuntu-with-virtualenv-and-mod_wsgi/

Mac OSX Mavericks:
Quick Setup
Here's some stuff that might be useful.

Windows:
http://pdxpixel.com/blog/setting-up-python-and-virtualenv-windows-cygwin/

Briefly

  • Clone the repository
  • Pull changes and update
  • Install virtualenv (on Linux, use virtualenvwrapper) and create a virtual environment with command: mkvirtualenv acrosite
  • Check pip (will be installed with creation of your first virtual environment)
  • Install all requirements with command: pip install -r requirements.txt
  • Set up Django and database (SQLite for now - see docs for more details)
  • Start Django: django-admin.py runserver --settings=acros.settings.local

About

So Happy It's Thursday! Acrostic generator web application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •