Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Developed in under 9 hours to fulfil a certain specification as part of an interview with Bar Zahlen (Zerebro Internet, Berlin)
Ruby JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
config
db
doc
features
lib
log
public
script
spec
vendor
.gitignore
.rspec
.rvmrc
Gemfile
Guardfile
README
README.md
Rakefile
config.ru

README.md

zbar_mike

Developed in under 9 hours to fulfil a certain specification; this is still a work in progress.

Running in development...

  1. Run bundle install --without=production to ensure you have the required dependencies. This will create a .bundle/config 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.

  2. Run the migrations, rake db:migrate

  3. 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.

  4. Once both rake tasks have been executed, perform the following.

User.last.update_attribute(:role,"admin")
  1. Download and install wkhtmltopdf and place the binary at /usr/local/bin — this is needed to allow downloading of PDFs from the application.

  2. Fire up the development server via rails s and visit http://localhost:3000

License

zbar_mike is Copyright (c) 2011 Michael de Silva (@bsodmike & G+), and is released under MIT-LICENSE.

Something went wrong with that request. Please try again.