Coder Social home page Coder Social logo

splendidbacon's Introduction

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 [email protected]: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.

splendidbacon's People

Contributors

matiaskorhonen avatar jcxplorer avatar vesan avatar akonan avatar mocanuvirgil avatar ksaa avatar

Watchers

James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.