Showing posts with label article. Show all posts
Showing posts with label article. Show all posts

Tuesday, October 29, 2013

healthcare.gov on Ubuntu / VirtualBox

What:  healthcare.gov website

On: Ubuntu / VirtualBox

Why: Why not?

 The Doing:  A few easy steps 

Get the source

https://github.com/Conservatory/healthcare.gov-2013-10-01
Follow the build instructions in the README.md file.

Setup the environment

VirtualBox

VirtualBox 4.1.23
VirtualBox 4.2.18


VirtualBox 4.3.0
Don't forget to install the guest additions.

Ubuntu

* Ubuntu 10.10 (EOL)
Ubuntu 12.04 LTS
 ? Ubuntu 13.10

Ubuntu 12.04 LTS
This version was just right.  All the Gems and Ruby on Rails installed without a peep.  This was left out of the readme instructions
sudo apt-get install ruby1.9.1-dev

Now wait a little while after
jekyll serve

Then in the web browser go to this URL:
http://localhost:4000

I wasn't getting the web site but then I noticed that I had typed 4400 instead of 4000.

Enjoy!






= = = = = = = = = = = = = = = = = = = = = = = = 

* Ubuntu 10.10 (EOL)
 gem install bundler

 will keep complaining about zlib being incompatible or whatnot.  Just move on to a more recent or at least an LTS version of Ubuntu.  No need to suffer inst. hell.

 ? Ubuntu 13.10 Didn't try this yet.











Monday, March 22, 2010

Joomla how to change article time stamp in JA Purity II template

Because Joomla does not support Daylight Savings Time or any Timezone that adjusts for Summer and Winter time etc. I wound up first specifying another Timezone just to get the correct time displayed. Then I realized that would be wrong too.

So I wanted to delete the time from the article date/time stamp so I did this:


Edit the following files:

htdocs/templates/ja_purity_ii/html/com_content/
frontpage/default_item.php
section/blog_item.php
category/blog_item.php
article/default.php

I replaced
LC2 with LC3 and vooop no more incorrect time, just the date.




article->created, JText::_('DATE_FORMAT_LC3')) ?>