Project Management* for hackers
- http://blog.kiskolabs.com/post/24195529239/open-source-bacon
- http://blog.kiskolabs.com/post/20108267834/the-regrettable-end-of-splendid-bacon
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 = :strictconfig.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 git@github.com:kiskolabs/splendidbacon.git -
Check that you have the right ruby version (> 1.9.2)
-
Install the required gems
bundle installin development you might want to also pass
--without production -
Create database.yml in the config folder. You can
cp config/database.example.yml config/database.ymlto get a starting point. -
Create the
.envfile. You cancp sample.env .envto get a starting point. -
Setup the database (create DB, load schema, load seed data)
rake db:setup -
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).
Run the test suite with:
bundle exec rake spec
Or:
bundle exec rspec spec
Copyright © 2010-2012 Kisko Labs & contributors.
Licensed under the MIT license. See the LICENSE file for the full license text.
