rudimentary makefile, example backend configuration file, message when
no plugin is detected git-svn-id: http://yolanda.mister-muffin.de/svn@296 7eef14d0-6ed0-489d-bf55-20463b2d70dbmain
parent
a812b3d886
commit
64bc812fc0
@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="utf-16"?>
|
||||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||||
|
||||
<strings>
|
||||
<string id="database">mysql</string>
|
||||
<string id="database_username">yolanda</string>
|
||||
<string id="database_password"><!-- put password here --></string>
|
||||
<string id="page_locale_default">en-us</string>
|
||||
<string id="page_xslt_default">xhtml.xsl</string>
|
||||
<string id="path_root">http://localhost/</string>
|
||||
</strings>
|
||||
|
||||
<ints>
|
||||
<int id="page_results_pagesize">10</int>
|
||||
<int id="page_tag_lenght_min">3</int>
|
||||
<int id="page_tag_count">20</int>
|
||||
<int id="video_height_max">720</int><!-- in pixels -->
|
||||
<int id="video_height_min">240</int>
|
||||
<int id="video_width_max">1080</int>
|
||||
<int id="video_width_min">320</int>
|
||||
<int id="video_filesize_max">204800</int><!-- in bytes -->
|
||||
<int id="video_filesize_min">512</int>
|
||||
</ints>
|
||||
|
||||
<bool>
|
||||
<int id="page_openid">true</int>
|
||||
<int id="page_bittorrent">true</int>
|
||||
</bool>
|
||||
|
||||
</xsl:stylesheet>
|
@ -0,0 +1,30 @@
|
||||
INSTDIR=/usr/local
|
||||
|
||||
build: frontend backend
|
||||
echo "building"
|
||||
|
||||
backend: database
|
||||
# TODO: copy apache configuration
|
||||
|
||||
database:
|
||||
# TODO: database setup - use dialog to answer the questions
|
||||
# which database ? (suggested: mysql)
|
||||
# root pasword ? (for setup)
|
||||
# yolanda username ? (suggested: yolanda)
|
||||
# yolanda password ? (will generate random username if none is chosen)
|
||||
dialog --yesno "database stuff" 10 40
|
||||
|
||||
frontend: svg2png
|
||||
# TODO: figure out what should go in here
|
||||
|
||||
install: build
|
||||
-mkdir "${INSTDIR}/share/yolanda"
|
||||
-mkdir "${INSTDIR}/share/yolanda/www"
|
||||
|
||||
remove:
|
||||
rm -rf "${INSTDIR}/share/yolanda"
|
||||
# TODO: kill off database
|
||||
|
||||
svg2png:
|
||||
# TODO: figure out how imagemagick works
|
||||
|
Loading…
Reference in New Issue