Skip to content

Commit

Permalink
Moving solidus_sample to be development dependency
Browse files Browse the repository at this point in the history
Solidus Sample gem includes seed data to setup local development in
an easy way, it includes catalogs for countries, states, products,
taxonomies/taxons and images. This gem itself needs about 10mb of disk
space and most of the times it is only needed in local development
or one time.
  • Loading branch information
softr8 committed Jan 9, 2024
1 parent 64f6a58 commit 259d199
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,9 @@ bin/rails db:seed
bin/rails spree_sample:load
```

`solidus_sample` is a development dependency, if you need to run `spree_sample:load`
in production environments, then you have to add it to your local Gemfile `gem 'solidus_sample'`.

There are also options and rake tasks provided by
[solidus\_auth\_devise](https://github.com/solidusio/solidus_auth_devise).

Expand Down
3 changes: 2 additions & 1 deletion solidus.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,6 @@ Gem::Specification.new do |s|
s.add_dependency 'solidus_api', s.version
s.add_dependency 'solidus_backend', s.version
s.add_dependency 'solidus_core', s.version
s.add_dependency 'solidus_sample', s.version

s.add_development_dependency 'solidus_sample', s.version
end

0 comments on commit 259d199

Please sign in to comment.