/bit-commerce

Sell digital products from your cloud storage account

Primary LanguageRubyGNU Affero General Public License v3.0AGPL-3.0

Bit Commerce

Open Tasks

Sell digital products from your cloud storage account

This is a product being built by the Assembly community. You can help push this idea forward by visiting https://assembly.com/bit-commerce.

How Assembly Works

Assembly products are like open-source and made with contributions from the community. Assembly handles the boring stuff like hosting, support, financing, legal, etc. Once the product launches we collect the revenue and split the profits amongst the contributors.

Visit https://assembly.com to learn more.

Installation

bundle install --without production
./bin/rake db:setup

Running

  1. Start rails server

     ./bin/rails s
    
  2. Visit localhost at port 3000:

    http://localhost:3000/products/new

Deploy to Heroku

git remote add heroku git@heroku.com:bitcommerce.git
git push heroku master
heroku run bin/rake db:migrate

Environment Variables

  • BIT_BUSINESS_EMAIL - PayPal Business account used to collect payment as a primary account, default is sandbox account
  • BIT_SERVICE_FEE - The cost of BitCommerce service, default is 0.05 (5%)

See also app/config/paypal.yaml for the environment variables related to the PayPal API configuration