Koozali.org: home of the SME Server

Timesheet app

Michael Doerner

Re: Timesheet app
« Reply #15 on: August 10, 2002, 02:07:32 AM »
Jeff,

>
I built a template called 93Achievo and put it in:
/etc/e-smith/templates-custom/etc/conf/httpd.conf
<

shouldn't this be
/etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf ?

and
>
/sbin/e-smith/expand-template /etc/e-smith/htppd.conf<

should be:
/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf ?

Regards,
Michael

Jeff C

Re: Timesheet app
« Reply #16 on: August 10, 2002, 09:24:46 AM »
Michael,

That did the trick.  I simply was playing in the wrong sandbox.

I will work on a howto over the weekend.

Thanks!

-jeff

guestHH

Re: Timesheet app
« Reply #17 on: August 10, 2002, 12:44:56 PM »
Ok got it Jeff, I totally missed your template posting earlier. That's why I didn't understand your question.

Regards,
guestHH

Jeff C

Re: Timesheet app
« Reply #18 on: August 11, 2002, 04:19:31 AM »
HF,

You still hold a place of esteem in my world :>

I can easily build an rpm to place all the files and fragments, but I'm no programmer and don't know how to do the mysql database stuff from a spec file.

If someone can help me with that piece I am sure I can build an rpm.

-jeff

Bill Talcott

Re: Timesheet app
« Reply #19 on: August 15, 2002, 12:30:31 AM »
While an RPM would make things easier, I'd almost prefer a HowTo (if it's versioned stuff). I like to know how to do things, rather than depending on someone else to package up the new version when it comes out...

Jeff C

Re: Timesheet app
« Reply #20 on: August 15, 2002, 09:53:12 AM »
Here is the mini howto for installing Achievo on an SME 5.1.2 server.  

The folks at http://www.achievo.org have an excellent and very easy howto to do the basic install.  Follow their instructions carefully and it will work first time.  Those instructions are at:  

http://www.achievo.org/support/manual/installation/

I suggest untarring the achievo file to /opt/achievo-0.8.1 instead of their suggestion.

Once untarred, follow the steps in the howto to create the mysql database and user.  I use phpMyAdmin to do the actual database and user creation but the instructions given will allow you to do it manually if you don't have phpMyAdmin.

To template this for an SME box follow the next steps:

# mkdir -p /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf
# cd /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf
# pico 93Achievo

Then insert the following text, making sure the paths are correct.

#-------------------------------------------
# Achievo-0.8.1
#-------------------------------------------

Alias /achievo /opt/achievo-0.8.1


Options -Indexes
AllowOverride None
order allow,deny
allow from all
AddType application/x-httpd-php .php .php3
php_flag magic_quotes_gpc off
php_flag track_vars on

#------------------------------------------------

Save and exit, then:

# /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf
# service httpd restart

That's all there is to it.  You should now have a working app in http://yourdomain.com/achievo

Hope this helps....

-jeff