solidus 2.9.5 → 2.10.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +80 -38
- data/lib/sandbox.sh +6 -5
- metadata +13 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9b32457181a5d683177cd05b337d287b9edda5f7f95f34404c4f76c4f3729614
|
4
|
+
data.tar.gz: 10b170313d662d203e0ccee7fa415df46651efe234d91860273ba10d1b7a5075
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dce2181712729d873672586f28ed2fde3829ad267861df6a00bbad52300fdd8c57eb39c9e11d79714642cd4ed8cd5c3d51967510bdbf7a58abd02139933443e0
|
7
|
+
data.tar.gz: f262151f6fd4f63baf27e9ba80824441ef87df1338ca0802646cf67f1e516480000800c7dafb7a9edf58c059c1266bd96de8cd4fa99f82c4b921c9efc4164b03
|
data/README.md
CHANGED
@@ -1,31 +1,55 @@
|
|
1
|
+
<img width="250" src="./logo.svg" alt="Solidus logo">
|
1
2
|
|
2
|
-
|
3
|
+
# Solidus
|
4
|
+
|
5
|
+
[![Circle CI](https://circleci.com/gh/solidusio/solidus/tree/master.svg?style=shield)](https://circleci.com/gh/solidusio/solidus/tree/master)
|
6
|
+
[![Gem](https://img.shields.io/gem/v/solidus.svg)](https://rubygems.org/gems/solidus)
|
7
|
+
[![License](http://img.shields.io/badge/license-BSD-yellowgreen.svg)](LICENSE.md)
|
8
|
+
[![Reviewed by Hound](https://img.shields.io/badge/Reviewed_by-Hound-8E64B0.svg)](https://houndci.com)
|
9
|
+
|
10
|
+
[![Enthusiasts on Open Collective](https://opencollective.com/solidus/tiers/enthusiast/badge.svg?label=Enthusiasts&color=brightgree)](https://opencollective.com/solidus)
|
11
|
+
[![Supporters on Open Collective](https://opencollective.com/solidus/tiers/supporter/badge.svg?label=Supporters&color=brightgree)](https://opencollective.com/solidus)
|
12
|
+
[![Ambassadors on Open Collective](https://opencollective.com/solidus/tiers/ambassador/badge.svg?label=Ambassador&color=brightgree)](https://opencollective.com/solidus)
|
13
|
+
[![Open Source Helpers](https://www.codetriage.com/solidusio/solidus/badges/users.svg)](https://www.codetriage.com/solidusio/solidus)
|
14
|
+
[![Slack](http://slack.solidus.io/badge.svg)](http://slack.solidus.io)
|
15
|
+
|
16
|
+
**A free, open-source ecommerce platform that gives you complete control over your store.**
|
17
|
+
|
18
|
+
- **Visit our website**: [https://solidus.io/](https://solidus.io/)
|
19
|
+
- **Read our guides**: [https://guides.solidus.io/developers/](https://guides.solidus.io/developers/)
|
20
|
+
- **Join our Slack**: [http://slack.solidus.io/](http://slack.solidus.io/)
|
21
|
+
- **Solidus Security**: [mailing list](https://groups.google.com/forum/#!forum/solidus-security)
|
3
22
|
|
4
|
-
- [solidus.io](http://solidus.io/)
|
5
|
-
- [Documentation](https://guides.solidus.io)
|
6
|
-
- [Join our Slack](http://slack.solidus.io/) ([solidusio.slack.com](http://solidusio.slack.com))
|
7
|
-
- [solidus-security](https://groups.google.com/forum/#!forum/solidus-security) mailing list
|
8
23
|
|
9
24
|
## Table of Contents
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
25
|
+
- [Supporting Solidus](#supporting-solidus)
|
26
|
+
- [Summary](#summary)
|
27
|
+
- [Demo](#demo)
|
28
|
+
- [Getting Started](#getting-started)
|
29
|
+
- [Installation Options](#installation-options)
|
30
|
+
- [Performance](#performance)
|
31
|
+
- [Developing Solidus](#developing-solidus)
|
32
|
+
- [Contributing](#contributing)
|
33
|
+
|
34
|
+
## Supporting Solidus
|
35
|
+
As a community-driven project, Solidus relies on funds and time donated by developers and stakeholders who use Solidus for their businesses. If you'd like to help Solidus keep growing, please consider:
|
36
|
+
|
37
|
+
- [Become a backer or sponsor on Open Collective](https://opencollective.com/solidus).
|
38
|
+
- [Contribute to the project](https://github.com/solidusio/solidus/blob/master/CONTRIBUTING.md).
|
39
|
+
|
40
|
+
### Main Contributor & Director
|
41
|
+
At present, Nebulab is the main code contributor and director of Solidus, providing technical guidance and coordinating community efforts and activities.
|
18
42
|
|
19
|
-
|
43
|
+
[![Nebulab](https://nebulab.it/assets/images/public/logo.svg)](https://nebulab.it/)
|
20
44
|
|
21
|
-
|
45
|
+
### Ambassadors
|
46
|
+
Support this project by becoming a Solidus Ambassador. Your logo will show up here with a link to your website. [Become an Ambassador](https://opencollective.com/solidus).
|
22
47
|
|
23
|
-
|
48
|
+
|[![Engine](https://images.opencollective.com/proxy/images?src=https%3A%2F%2Flogo.clearbit.com%2Fenginecommerce.com&height=100)](https://www.enginecommerce.com/)|[![Super Good Software](https://images.opencollective.com/proxy/images?src=https%3A%2F%2Fopencollective-production.s3-us-west-1.amazonaws.com%2F3bbb1440-727f-11e9-a366-37673cc38cee.png&height=100)](https://supergood.software/)|[![Karma Creative](https://images.opencollective.com/proxy/images?src=https%3A%2F%2Fopencollective-production.s3-us-west-1.amazonaws.com%2Fab94d2a0-7253-11e9-a366-37673cc38cee.png&height=100)](https://karmacreative.io/)|
|
49
|
+
[![ModdedEuros](https://images.opencollective.com/proxy/images?src=https%3A%2F%2Fimages.opencollective.com%2Fmodded-euros%2Ff1a80ae%2Flogo.png&height=100)](https://www.moddedeuros.com)|
|
50
|
+
|---|---|---|---|
|
24
51
|
|
25
|
-
|
26
|
-
<a href="https://www.enginecommerce.com/"><img src="https://images.opencollective.com/proxy/images?src=https%3A%2F%2Flogo.clearbit.com%2Fenginecommerce.com&height=100"></a>
|
27
|
-
<a href="https://supergood.software/"><img src="https://images.opencollective.com/proxy/images?src=https%3A%2F%2Fopencollective-production.s3-us-west-1.amazonaws.com%2F3bbb1440-727f-11e9-a366-37673cc38cee.png&height=100"></a>
|
28
|
-
<a href="https://karmacreative.io/"><img src="https://images.opencollective.com/proxy/images?src=https%3A%2F%2Fopencollective-production.s3-us-west-1.amazonaws.com%2Fab94d2a0-7253-11e9-a366-37673cc38cee.png&height=100"></a>
|
52
|
+
---
|
29
53
|
|
30
54
|
## Summary
|
31
55
|
|
@@ -50,18 +74,6 @@ ecommerce platform. However, you may only want to use the
|
|
50
74
|
[`solidus_core`](https://github.com/solidusio/solidus/tree/master/core) gem
|
51
75
|
combine it with your own custom frontend, admin interface, and API.
|
52
76
|
|
53
|
-
[![Circle CI](https://circleci.com/gh/solidusio/solidus/tree/master.svg?style=shield)](https://circleci.com/gh/solidusio/solidus/tree/master)
|
54
|
-
[![Gem](https://img.shields.io/gem/v/solidus.svg)](https://rubygems.org/gems/solidus)
|
55
|
-
[![License](http://img.shields.io/badge/license-BSD-yellowgreen.svg)](LICENSE.md)
|
56
|
-
[![Slack](http://slack.solidus.io/badge.svg)](http://slack.solidus.io)
|
57
|
-
[![Backers on Open Collective](https://opencollective.com/solidus/backers/badge.svg)](https://opencollective.com/solidus)
|
58
|
-
[![Sponsors on Open Collective](https://opencollective.com/solidus/sponsors/badge.svg)](https://opencollective.com/solidus)
|
59
|
-
[![Open Source Helpers](https://www.codetriage.com/solidusio/solidus/badges/users.svg)](https://www.codetriage.com/solidusio/solidus)
|
60
|
-
|
61
|
-
### Supported by
|
62
|
-
|
63
|
-
[![Reviewed by Hound](https://img.shields.io/badge/Reviewed_by-Hound-8E64B0.svg)](https://houndci.com)
|
64
|
-
|
65
77
|
## Demo
|
66
78
|
|
67
79
|
Try out Solidus with one-click on Heroku:
|
@@ -87,7 +99,7 @@ Begin by making sure you have
|
|
87
99
|
required for Paperclip. (You can install it using [Homebrew](https://brew.sh) if
|
88
100
|
you're on a Mac.)
|
89
101
|
|
90
|
-
To add solidus, begin with a Rails 5 application and a database configured and
|
102
|
+
To add solidus, begin with a Rails 5/6 application and a database configured and
|
91
103
|
created. Add the following to your Gemfile.
|
92
104
|
|
93
105
|
```ruby
|
@@ -121,13 +133,15 @@ bundle exec rails s
|
|
121
133
|
The [`solidus_frontend`](https://github.com/solidusio/solidus/tree/master/frontend) storefront will be accessible at [http://localhost:3000/](http://localhost:3000/)
|
122
134
|
and the admin can be found at [http://localhost:3000/admin/](http://localhost:3000/admin/).
|
123
135
|
|
136
|
+
For information on how to customize your store, check out the [customization guides](https://guides.solidus.io/developers/customizations/overview.html).
|
137
|
+
|
124
138
|
### Default Username/Password
|
125
139
|
|
126
140
|
As part of running the above installation steps, you will be asked to set an admin email/password combination. The default values are `admin@example.com` and `test123`, respectively.
|
127
141
|
|
128
142
|
### Questions?
|
129
143
|
|
130
|
-
The best way to ask questions is
|
144
|
+
The best way to ask questions is to [join the Solidus Slack](http://slack.solidus.io/) and join the [#support channel](https://solidusio.slack.com/messages/support/details/).
|
131
145
|
|
132
146
|
## Installation options
|
133
147
|
|
@@ -175,15 +189,19 @@ config.assets.debug = false
|
|
175
189
|
|
176
190
|
To gain some extra speed you may enable Turbolinks inside of Solidus admin.
|
177
191
|
|
178
|
-
Add `gem 'turbolinks', '~> 5.0.0'` into your `Gemfile` (if not already present)
|
192
|
+
Add `gem 'turbolinks', '~> 5.0.0'` into your `Gemfile` (if not already present)
|
193
|
+
and change `vendor/assets/javascripts/spree/backend/all.js` as follows:
|
179
194
|
|
180
195
|
```js
|
181
196
|
//= require turbolinks
|
182
|
-
|
197
|
+
//
|
198
|
+
// ... current file content
|
199
|
+
//
|
200
|
+
//= require spree/backend/turbolinks-integration.js
|
183
201
|
```
|
184
202
|
|
185
|
-
**CAUTION** Please be aware that Turbolinks can break extensions
|
186
|
-
Use at own risk.
|
203
|
+
**CAUTION** Please be aware that Turbolinks can break extensions
|
204
|
+
and/or customizations to the Solidus admin. Use at your own risk.
|
187
205
|
|
188
206
|
## Developing Solidus
|
189
207
|
|
@@ -200,6 +218,16 @@ Use at own risk.
|
|
200
218
|
bundle install
|
201
219
|
```
|
202
220
|
|
221
|
+
_Note_: If you're using PostgreSQL or MySQL, you'll need to install those gems through the DB environment variable.
|
222
|
+
|
223
|
+
```bash
|
224
|
+
# PostgreSQL
|
225
|
+
DB=postgresql bundle install
|
226
|
+
|
227
|
+
# MySQL
|
228
|
+
DB=mysql bundle install
|
229
|
+
```
|
230
|
+
|
203
231
|
### Sandbox
|
204
232
|
|
205
233
|
Solidus is meant to be run within the context of Rails application. You can
|
@@ -218,7 +246,21 @@ data already loaded.
|
|
218
246
|
You can create a sandbox with PostgreSQL or MySQL by setting the DB environment variable.
|
219
247
|
|
220
248
|
```bash
|
249
|
+
# PostgreSQL
|
221
250
|
DB=postgresql bundle exec rake sandbox
|
251
|
+
|
252
|
+
# MySQL
|
253
|
+
DB=mysql bundle exec rake sandbox
|
254
|
+
```
|
255
|
+
|
256
|
+
If you need to create a Rails 5.2 application for your sandbox, for example
|
257
|
+
if you are still using Ruby 2.4 which is not supported by Rails 6, you can
|
258
|
+
use the `RAILS_VERSION` environment variable.
|
259
|
+
|
260
|
+
```bash
|
261
|
+
export RAILS_VERSION='~> 5.2.0'
|
262
|
+
bundle install
|
263
|
+
bundle exec rake sandbox
|
222
264
|
```
|
223
265
|
|
224
266
|
* Start the server
|
data/lib/sandbox.sh
CHANGED
@@ -27,7 +27,7 @@ bundle exec rails new sandbox --database="$RAILSDB" \
|
|
27
27
|
--skip-rc \
|
28
28
|
--skip-spring \
|
29
29
|
--skip-test \
|
30
|
-
--skip-
|
30
|
+
--skip-javascript
|
31
31
|
|
32
32
|
if [ ! -d "sandbox" ]; then
|
33
33
|
echo 'sandbox rails application failed'
|
@@ -49,11 +49,12 @@ group :test, :development do
|
|
49
49
|
end
|
50
50
|
RUBY
|
51
51
|
|
52
|
-
# Ensure sqlite3 version to match ActiveRecord SQLite adapter requirement
|
53
|
-
# (see https://github.com/solidusio/solidus/issues/3087 for details)
|
54
|
-
sed -i -e "s/gem 'sqlite3'/gem 'sqlite3', '~> 1.3.6'/g" Gemfile
|
55
|
-
|
56
52
|
bundle install --gemfile Gemfile
|
57
53
|
bundle exec rake db:drop db:create
|
58
54
|
bundle exec rails g spree:install --auto-accept --user_class=Spree::User --enforce_available_locales=true
|
59
55
|
bundle exec rails g solidus:auth:install
|
56
|
+
|
57
|
+
echo "
|
58
|
+
This app is intended for test purposes. If you're interested in running
|
59
|
+
Solidus in production, visit:
|
60
|
+
https://guides.solidus.io/developers/getting-started/first-time-installation.html 🚀"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: solidus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.10.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Solidus Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-07-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: solidus_api
|
@@ -16,70 +16,70 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 2.
|
19
|
+
version: 2.10.2
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 2.
|
26
|
+
version: 2.10.2
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: solidus_backend
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 2.
|
33
|
+
version: 2.10.2
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - '='
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 2.
|
40
|
+
version: 2.10.2
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: solidus_core
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - '='
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 2.
|
47
|
+
version: 2.10.2
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - '='
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 2.
|
54
|
+
version: 2.10.2
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: solidus_frontend
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - '='
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 2.
|
61
|
+
version: 2.10.2
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - '='
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 2.
|
68
|
+
version: 2.10.2
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: solidus_sample
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - '='
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 2.
|
75
|
+
version: 2.10.2
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - '='
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: 2.
|
82
|
+
version: 2.10.2
|
83
83
|
description: Solidus is an open source e-commerce framework for Ruby on Rails.
|
84
84
|
email: contact@solidus.io
|
85
85
|
executables: []
|
@@ -105,7 +105,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
105
105
|
requirements:
|
106
106
|
- - ">="
|
107
107
|
- !ruby/object:Gem::Version
|
108
|
-
version: 2.
|
108
|
+
version: 2.4.0
|
109
109
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
110
110
|
requirements:
|
111
111
|
- - ">="
|