Project Management* for hackers
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.
Clone the repository
git clone email@example.com:kiskolabs/splendidbacon.git
Check that you have the right ruby version (> 1.9.2)
Install the required gems
in development you might want to also pass
Create database.yml in the config folder. You can
cp config/database.example.yml config/database.ymlto get a starting point.
.envfile. You can
cp sample.env .envto get a starting point.
Setup the database (create DB, load schema, load seed data)
Start the app
The admin console is located at http://localhost:5000/magic
NB. The session secret must be set as an environment variable called
You can generate a new secret with
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).
Run the test suite with:
bundle exec rake spec
bundle exec rspec spec
Copyright © 2010-2012 Kisko Labs & contributors.
Licensed under the MIT license. See the LICENSE file for the full license text.