Skip to content

Open. Democratic. Project management platform.

Notifications You must be signed in to change notification settings

pentandra/bettermeans

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BetterMeans¶ ↑

BetterMeans is giving birth to a new kind of company. An Open Enterprise.

More details can be found at bettermeans.com and here bettermeans.org


Getting started¶ ↑

git clone [email protected]:Bettermeans/bettermeans.git

#Rename database.yml.example to database.yml and set your local dev db u/p

bundle install

rake bootstrap

#for a larger data set on postgresql db, skip rake bootstrap and load from dump file. This recommended since it mirrors our production env.

psql bettermeans_development < db/pgdump.sql

That’s it. Now you’re ready to change the world. Here’s to making a dent in things together!


Gotchas¶ ↑

Make sure you install rubytree gem’s older version, not just the latest: rubytree -v 0.7.0 We’re running Ruby 1.8.7 in dev and production

If you encounter an error like “uninitialized constant ActiveSupport::Dependencies::Mutex”, then you need to get the correct rubygems version. Currently this is 1.3.7.


Dev notes¶ ↑

Platform workstream: bettermeans.com/projects/2/dashboard

IRC: #bettermeans irc.feenode.net

mailinglist: [email protected] (or build in workstream forum)

We are working on using bundler to wrap up the dev environment. To learn more about it check it out here: gembundler.com/

Our tests are broken. Help us write great tests and catch up on our testing environment!

Testing¶ ↑

capybara-webkit depends on a WebKit implementation from Qt as explained in github.com/thoughtbot/capybara-webkit/wiki/Installing-QT

Dev database¶ ↑

The bettermeans projects is renamed to “LOCAL BETTERMEANS” to avoid confusion with the production dashboards.

All passwords in included dev db are set to: “password”

All private workstreams are removed.

All other the data in the dev database is real! Please respect our user’s privacy, and use the data in the db only for development purposes. (goes without saying I know)


Translating¶ ↑

You can find language specific translation groups at: www.transifex.net/projects/p/bettermeans


Known issues¶ ↑

Attachments doesn’t work in dev environment

Logging in via the janrain plugin (e.g. google, twitter…etc) won’t work in dev environment (if you need to work with this, drop me a message, there’s an involved workaround)


Random tidbits¶ ↑

To see activity on bettermeans, checkout the stats page: secure.bettermeans.com/admin/user_stats

Admin console is here (there are no visible links to it): localhost:3000/admin Login is admin/password


Creating a db from production¶ ↑

You shouldn’t need to. But if you do.…

To create a new dev db from production:

heroku db:pull # Load production database

export reset_safe=true

rake custom:trim_db

rake db:schema:dump

rake db:seed:dump MODELS=tracker,issue_statuss,enumeration,role,plan,setting

# Uses github.com/rhalff/seed_dump

To generate a pg_dump: pg_dump bettermeans_development -c -O -x -f db/pgdump.sql


License and legalese¶ ↑

Our codebase is based largely on an early fork of Redmine.

Redmine is open source and released under the terms of the GNU General Public License v2 (GPL). All redmine code is Copyright © 2006-2011 Jean-Philippe Lang All non-redmine code is Copyright © Shereef Bishay

Thanks for joining us! May our work be used for the greater good of everyone.

About

Open. Democratic. Project management platform.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published