Project Management for hackers
Ruby JavaScript
Latest commit ec9368a Dec 10, 2012 @matiaskorhonen matiaskorhonen Merge pull request #38 from archSeer/master
Update Gemfile.
Failed to load latest commit information.
app Newest devise uses DELETE to send logouts. Dec 8, 2012
autotest organization tests pass Oct 16, 2010
config Revert "Update simple_form to 2.0.4" Dec 9, 2012
db Fixes a failing legacy migration. Jul 14, 2012
doc Updates config files to match a new Rails 3.2 app. Jul 14, 2012
lib Cucumber installed. Oct 16, 2010
public Removes the Kisko logo from the error pages Oct 17, 2012
script Cucumber installed. Oct 16, 2010
spec Update specs to create users with 8 char passwords. Dec 8, 2012
vendor Removes Pictos and replaces it with Font Awesome. Jul 14, 2012
.gitignore Adds Foreman to manage environment variables. Jul 14, 2012
.rspec
.travis.yml
Gemfile Revert "Update simple_form to 2.0.4" Dec 9, 2012
Gemfile.lock
HEROKU.md Adds Heroku instructions Oct 17, 2012
LICENSE
Procfile Adds Foreman to manage environment variables. Jul 14, 2012
README.md Fixes a mistake in the readme Oct 17, 2012
Rakefile Updates config files to match a new Rails 3.2 app. Jul 14, 2012
config.ru Initial commit. Oct 16, 2010
sample.env Updates the README. Jul 14, 2012

README.md

Splendid Bacon

Project Management* for hackers

Caveats

There are a few issues that should be fixed before taking this into production use:

  • Fix the mass assignment vulnerabilities (this is the most important thing)
    • config.active_record.mass_assignment_sanitizer = :strict
    • config.active_record.whitelist_attributes = true

Note: Any API keys included in the source code have been revoked and cannot be used.

Installation (for development)

  1. Clone the repository

    git clone git@github.com:kiskolabs/splendidbacon.git

  2. Check that you have the right ruby version (> 1.9.2)

  3. Install the required gems

    bundle install

    in development you might want to also pass --without production

  4. Create database.yml in the config folder. You can cp config/database.example.yml config/database.yml to get a starting point.

  5. Create the .env file. You can cp sample.env .env to get a starting point.

  6. Setup the database (create DB, load schema, load seed data)

    rake db:setup

  7. Start the app

    foreman start

The admin console is located at http://localhost:5000/magic

NB. The session secret must be set as an environment variable called SECRET_TOKEN.

You can generate a new secret with rake secret.

On Heroku, you can set the session secret with this one-liner:

heroku config:add SECRET_TOKEN=\`rake secret`

Foreman is included to make managing environment variables easier in development. Include any environment variables you need in a .env file (see sample.env as a reference).

Tests Build Status

Run the test suite with:

bundle exec rake spec

Or:

bundle exec rspec spec

License and Copyright

Copyright © 2010-2012 Kisko Labs & contributors.

Licensed under the MIT license. See the LICENSE file for the full license text.