Skip to content

ARtoriouSs/spree-dummy-shop

Repository files navigation

This is a sample shop on Spree.

It's almost ready for starting, but needs some little improvements and configuration. Note that it was created as an example while learning Spree and creating little project, so some admin settings can work incorrect or have bad styling (we used open Colorlib design). It's not fully finished thing, but a nice little example of base things in Spree.


How to fire it up:

  • Clone the repository and install dependensies:
git clone https://github.com/ARtoriouSs/spree-sample-shop.git
cd spree-sample-shop

Then run bundle install

  • Setup database:

Configure your database and run rake db:create db:migrate

  • Create .env file with the following content:
GMAIL_USERNAME=your_email@gmail.com
GMAIL_PASSWORD=your_email_password
DATABASE_PASSWORD=your_db_password

Gmail credentials are needed for mailer, it's not required, but without them mailer will not send messages. To run it in production you should also disable CAPTCHA in your gmail account.

  • Create admin user:
rake spree_auth:admin:create

Now it's ready to use, visit localhost:3000/admin to create products, and configure your shop.