Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: gh-pages
Fetching contributors…

Cannot retrieve contributors at this time

65 lines (48 sloc) 3.248 kb
<!DOCTYPE html>
<meta charset='utf-8' />
<meta http-equiv="X-UA-Compatible" content="chrome=1" />
<meta name="description" content="Zahl-bar : Developed in under 9 hours to fulfil a certain specification as part of an interview with Bar Zahlen (Zerebro Internet, Berlin)" />
<link rel="stylesheet" type="text/css" media="screen" href="stylesheets/stylesheet.css">
<!-- HEADER -->
<div id="header_wrap" class="outer">
<header class="inner">
<a id="forkme_banner" href="">Fork Me on GitHub</a>
<h1 id="project_title">Zahl-bar</h1>
<h2 id="project_tagline">Developed in under 9 hours to fulfil a certain specification as part of an interview with Bar Zahlen (Zerebro Internet, Berlin)</h2>
<section id="downloads">
<a class="zip_download_link" href="">Download this project as a .zip file</a>
<a class="tar_download_link" href="">Download this project as a tar.gz file</a>
<div id="main_content_wrap" class="outer">
<section id="main_content" class="inner">
<p>Developed in under 9 hours to fulfil a certain specification; this is still a work in progress.</p>
<h2>Running in development...</h2>
<li><p>Run <code>bundle install --without=production</code> to ensure you have the required dependencies. This will create a <code>.bundle/config</code> file which will always force the skipping of any gems listed in the production group — this is done to skip the need for mysql as defined in the Gemfile.</p></li>
<li><p>Run the migrations, <code>rake db:migrate</code></p></li>
<li><p>Two rake tasks have been created to assist in (a) creating an admin user account and (b) seeing the database with sample data in lieu of the pending CRUD controller/views that are missing in the app.</p></li>
<li><p>Once both rake tasks have been executed, perform <code>User.last.update_attribute(:role,"admin")</code></p></li>
<li><p><a href="">Download and install wkhtmltopdf</a> and place the binary at <code>/usr/local/bin</code> — this is needed to allow downloading of PDFs from the application.</p></li>
<li><p>Fire up the development server via <code>rails s</code> and visit <a href="http://localhost:3000">http://localhost:3000</a></p></li>
<p>zbar_mike is Copyright (c) 2011 <a href="">Michael de Silva</a> (<a href="!/bsodmike">@bsodmike</a> &amp; <a href="">G+</a>), and is released under MIT-LICENSE.</p>
<!-- FOOTER -->
<div id="footer_wrap" class="outer">
<footer class="inner">
<p class="copyright">Zahl-bar maintained by <a href="">bsodmike</a></p>
<p>Published with <a href="">GitHub Pages</a></p>
Jump to Line
Something went wrong with that request. Please try again.