Menu

Tree [7a37e5] master /
 History

HTTPS access


File Date Author Commit
 darktable-filer 2013-02-22 Robert Rosman Robert Rosman [906fd1] Initial commit
 lib 2013-03-03 Robert Rosman Robert Rosman [e8b133] Authenticate through redmine rest api
 upload_code 2013-03-02 Robert Rosman Robert Rosman [6964e2] Added toggle button in lightbox preview
 README 2013-03-03 Robert Rosman Robert Rosman [e8b133] Authenticate through redmine rest api
 authenticate.php 2013-02-26 Robert Rosman Robert Rosman [473978] Adding fast authentication
 database-schema.sql 2013-02-27 Robert Rosman Robert Rosman [932eee] Making database unicode
 download.php 2013-02-22 Robert Rosman Robert Rosman [906fd1] Initial commit
 index.php 2013-03-02 Robert Rosman Robert Rosman [a26916] Added links to overview, previous and next style
 show-style.php 2013-03-02 Robert Rosman Robert Rosman [a26916] Added links to overview, previous and next style
 upload.php 2013-02-27 Robert Rosman Robert Rosman [74b29b] Showing real module names
 user-agreement.php 2013-03-05 Robert Rosman Robert Rosman [7a37e5] Initial draft of user agreement

Read Me

darktable styles platform
=========================

The darktable styles platform is developed by Robert Rosman 2013, without
any warranty whatsoever.



To make it work on your site
============================

 - Extract the archive and put the folder where you'd like it.
 - Edit lib/db-connection.php to match the credentials for your database. 
 - Run the SQL commands found in database-scheme.sql on your database to
   create proper tables.
 - In lib/functions.php, edit authenticate_user() to delete premature "return true"
 - Edit lib/wordpress-header.php and lib/wordpress-footer.php to include the
   correct template. This would obviously be the place to generate correct title
   for the pages, and if you want, move the <script> and <link> tags from 
   index.php and show-style.php to the head section.
 - Make sure www-data or whatever user you're using, have read and write
   permissions to the $img_dir (img/ by default).
 - If you wish, you may place the lib_dir and img_dir to some other place, but
   make sure you modify ./*.php to set the search paths correctly.
 - Delete the folder "darktable-filer", since it's hopefully useless once you've
   set up the template properly.



To upload styles to the website
===============================

 - Open upload_code/upload.c and find this comment:
   /* All the values to be used */
 - Edit all the values you want and save changes.
 - Open upload_code/example.dtstyle
 - Edit the name and description and save changes.
 - In a terminal, go to the upload_code folder and run:
   # gcc upload.c -o upload -lcurl;./upload
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.