Rails-Ecommerce is an open-source e-commerce solution based on Ruby on Rails 6.
- Ruby 2.6.0
- Ruby on Rails 6.0.0.alpha
- PostgreSQL 9.5
- jQuery
- Gem:
Before you get started, the following needs to be installed:
- Ruby. Version 2.6.0 is currently used and we don't guarantee everything works with other versions. If you need multiple versions of Ruby, rbenv is recommended.
- RubyGems
- Bundler:
gem install bundler
- Git
- A database. Only PostgreSQL 9.5 has been tested, so we give no guarantees that other databases (e.g. MySQL) work. If you're using OS X and have Homebrew installed, install it with
brew install postgresql
- Get the code. Clone this git repository:
git clone https://github.com/avijit-sharma/shop-rails.git
- Install the required gems by running the following command in the project root directory:
bundle install
- Create and initialize the database:
bundle exec rake db:migrate
- Start the development server:
rails s