GithubHelp home page GithubHelp logo

bettermeans's Introduction

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

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!

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)


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

Code is copyright bettermeans, llc. All rights reserved.

Our codebase is based largely on Redmine. Which is GPL licensed. However, bettermeans is not redistributing the code yet, and choosing not to open source the changes to it as they are privately hosted. Our hope is to eventually figure out a business model that can support our livelihood and open source the code. Until then we are keeping the codebase closed.

By accessing / contributing to this codebase, you agree to keep the code private to bettermeans, and to not share it in any way outside the context of bettermeans.

You are also agreeing to working in bettermeans according to these terms of use: bettermeans.com/front/user_agreement.html and operating agreement: bettermeans.com/front/open_enterprise_governance_model.html

Please read them carefully.

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

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.