Menu

Home

Web3king

Welcome to your wiki!

Info

Ristomeal is web application specific for restaurants, yacht, pizzerias, cafè that help to manage menu, dish, calendar and shopping list. Ristomeal is built with CodeIgniter, a powerfull PHP MVC framework, and you can install Ristomeal on your Linux Server with the LAMP stack.

We developped Ristomeal on this configuration: Debian 6 (squeeze), PHP 5.3.3-7+squeeze19, Apache 2.2.16, MySQL 5.1.63-0+squeeze1.

Installation

To install ristomeal on your hosting/server upload all the code in a custom directory, for example http://servername/ristomeal and follow the steps:

  1. Modifiy the application/config/config.php and put you custom directory in the $config['base_url'] parameter, ie:

    ~~~~~~
    $config['base_url'] = 'http://servername/ristomeal/';
    ~~~~~~

  2. Modifiy the application/config/database.php with the information about your MySQL database

    ~~~~~~
    $db['default']['hostname'] = 'server-ip';
    $db['default']['database'] = 'database-name';
    $db['default']['username'] = 'xxxx';
    $db['default']['password'] = 'xxxx';
    ~~~~~~

  3. Create a database on your MySQL server, for example using phpMyAdmin, called database-name (the same name used in the 2° point) and import the ristomealDemo.sql file contained in the database directory.

  4. That's it! Open your browser at http://servername/ristomeal/index.php/home and login with this credential

    • username: admin
    • password: a

Ristomeal's demo installation

Template

It's possible to create custom template and print the menu in pdf, to change the style of a template modify the view.php file in the application/views/template/<yourtemplate>/</yourtemplate> directory. Due some issue with the dompdf configuration the css properties must be written in this view and not in a separate css file.

Credits

  • CodeIgniter: A Fully Baked PHP Framework. CodeIgniter is a proven, agile & open PHP web application framework with a small footprint. It is powering the next generation of web apps;
  • Bootstrap: Bootstrap is the most popular HTML, CSS, and JS framework for developing responsive, mobile first projects on the web;
  • Font Awesome Icons: Font Awesome gives you scalable vector icons that can instantly be customized — size, color, drop shadow, and anything that can be done with the power of CSS;
  • jQuery: jQuery is a fast, small, and feature-rich JavaScript library. It makes things like HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a multitude of browsers.

Project Members:


MongoDB Logo MongoDB