You are not logged in.
Pages: 1
- if i have webapp foo (some html/php/python/ruby/... code) and want to package it, where should it go? /usr/share/<foo> ; ln -s /usr/share/<foo> /srv/http/<foo> ?
- what if that webapp needs a configfile? /etc/<foo>/*? and symlink to it from /srv/http/<foo> ?
- what if the webapp needs a database with some default data? optdepend on mysql? and make an .sql file that creates database <foo> and ask user to execute it on the database he/she prefers?
I'm seeing various approaches and couldn't find a solid answer...
http://repos.archlinux.org/viewvc.cgi/c … ev=CURRENT
http://bbs.archlinux.org/viewtopic.php?id=54474
http://bugs.archlinux.org/task/10920
Last edited by Dieter@be (2008-12-08 19:17:28)
< Daenyth> and he works prolifically
4 8 15 16 23 42
Offline
Personally, I find the concept of packaging web software weird. Maybe this approach can work for software with a fixed number of files, like phpmyadmin, but it's not straightforward to install/upgrade/remove web applications (especially database-backed ones) in other cases.
My suggestion, with a few exceptions, is to leave web applications out of the repos.
Last edited by foutrelis (2008-12-08 23:49:12)
Offline
Pages: 1