Skip to content

mfrecchiami/solidus-demo

 
 

Repository files navigation

README

This is the repo for the Solidus Demo Site.

Running locally

After cloning the repo, cd into the folder and run the following commands:

bundle install
yarn install
rails db:create db:migrate db:seed

The app runs at http://localhost:3000. The admin interface can be accessed at http://localhost:3000/admin/.

Authentication

Currently, every request is assumed to have come from an admin user. (see lib/spree/core/controller_helpers/auth_decorator.rb for more info)

This allows access to the backend without the need to log in, allowing potential adopters to get a better look at what they'll be working with.

Deploying

demo.solidus.io auto-deploys (on Heroku) from the master branch of this repository - a few minutes after your PR is merged, you should see it reflected on the website.

Database Changes

This demo relies on the existence of a sample_indicator_id for every table in the database (except two - see more here.)

When adding new tables to the database, please make sure to also include a sample_indicator_id string, otherwise the demo might break.

About

Solidus sample store

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 65.0%
  • HTML 25.0%
  • SCSS 7.2%
  • JavaScript 2.2%
  • Dockerfile 0.4%
  • CSS 0.2%