一个免费的 开源 平台,用于销售电子下载产品,如电子书
Zipsell helps you set up an online store for selling digital products such as ebooks, music, videos, source code etc.
Zipsell handles payment processing via stripe and sends customers secure expiring Amazon S3 links to the files they have purchased. Since it is self-hosted, you receive payments directly and avoid paying commissions to 3rd party marketplaces.
Zipsell is built with Ruby on Rails.
Demo site - http://demo.zipsell.org
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
Zipsell is a Ruby on Rails app. These instructions assume you have run a rails app on your local machine before.
Clone the project into a local folder and run the included setup file:
git clone https://github.com/yongfook/zipsell
cd zipsell
./bin/setupDuring local setup above, a git-ignored config file is generated at config/application.yml.
Populate this with your local and production config for Amazon AWS, Stripe etc. You can have environment-specific values for local, test and production. ENV config is handled by the Figaro gem.
The config template looks like this:
…These should be self explanatory except for the optional cdn host section.
cdn_host_assets: This is the optional Rails asset pipeline cdn host. Use this if you want to serve css / js faster. Include the protocol you want to use e.g. https://myapp.cdn.com
cdn_host_s3_bucket: This is the optional Amazon Cloudfront cdn host for your S3 bucket. Use this if you want to serve uploaded image files faster. Do not include the protocol, use only the hostname e.g. randomname.cloudfront.net
Start your rails server:
rails s
Your shopfront is at:
http://0.0.0.0:3000
Your admin dashboard is at:
http://0.0.0.0:3000/admin
To deploy to heroku for the first time:
heroku create
git push heroku master
heroku run rails db:migrate
figaro heroku:set -e productionThe last line updates the remote heroku server with the ENV config in config/application.yml.
You will need to run this command again if you change your production config.
In general, we follow the "fork-and-pull" Git workflow.
NOTE: Be sure to merge the latest from "upstream" before making a pull request!
This project is licensed under the MIT License - see the LICENSE file for details
暂无开放 Issues,或尚未同步最近议题。