solidus 3.0.6 → 3.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +65 -41
  3. metadata +16 -16
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0a9a868aabe8691c4340263b63c02635dcdc1bfd87ca0fa75b030cb68b2722e7
4
- data.tar.gz: f8503bd0a2c3f070c5c7307c35ff77cc505043cf0814b2916e4d8a9b3e0efe22
3
+ metadata.gz: 8c37948a19a31152d0dcafbb0f30ce7b942dda982919929efdf68cf3a488ca41
4
+ data.tar.gz: e9f574d631f2a91776eeb40edfabeef96bfadf3cbb4166ffd41c3e5159b4c0a2
5
5
  SHA512:
6
- metadata.gz: 8140d67c56b61673c93b7c3f0c9a668b66014c45e93c184a8c081d28b5a2da21c65e611306e7fbc6bc6f0a2300fa668dadb8f2dfeaea34532b166c21e16459e9
7
- data.tar.gz: 2bdb4342eef96fec239ddbfd0aef1d2db8a7f06c33af6ea849dd51ae30a5b746c86754203b32a29007bdb02a2b9e4bd6a8b6ce9e0b23669db0487996c7aa8707
6
+ metadata.gz: 0016ed62c3731592ac6a7f87641a571c0f47342429ba7a67dd95c51e75c7938d2599b84567902868e3b9dc551ad249821e16fa8371c2908ead0b847c426f0180
7
+ data.tar.gz: 0cd3a5272ce616fb8a181072ca11d51d4143f68d081ebcf85361cfa0d0151b6834e9d13b89659daf2fcfb36be490715a41533f6e01b14453940cafd7343cc152
data/README.md CHANGED
@@ -42,7 +42,7 @@ As a community-driven project, Solidus relies on funds and time donated by devel
42
42
  ### Main Contributor & Director
43
43
  At present, Nebulab is the main code contributor and director of Solidus, providing technical guidance and coordinating community efforts and activities.
44
44
 
45
- [![Nebulab](https://nebulab.it/assets/images/public/logo.svg)](https://nebulab.it/)
45
+ [![Nebulab](https://nebulab.com/assets/img/logo-nebulab_black.svg)](https://nebulab.com/)
46
46
 
47
47
  ### Ambassadors
48
48
  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).
@@ -103,51 +103,19 @@ Begin by making sure you have
103
103
  required for Paperclip. (You can install it using [Homebrew](https://brew.sh) if
104
104
  you're on a Mac.)
105
105
 
106
- To add solidus, begin with a Rails 5/6 application and a database configured and
107
- created.
106
+ To add Solidus, begin with a Rails 5.2, 6 or 6.1 application and a database
107
+ configured and created.
108
108
 
109
109
  ### Installing Solidus
110
110
 
111
- <details>
112
- <summary>For Solidus v2.11 and above</summary>
111
+ In your application's root folder run:
113
112
 
114
- Add the following to your Gemfile.
115
-
116
- ```ruby
117
- gem 'solidus'
118
- ```
119
-
120
- Run the `bundle` command to install.
121
-
122
- After installing gems, you'll have to run the generator to create necessary
123
- configuration files and migrations.
124
-
125
- ```bash
126
- bin/rails g solidus:install
127
- ```
128
- </details>
129
-
130
- <details>
131
- <summary>For Solidus v2.10 and below</summary>
132
-
133
- Add the following to your Gemfile. Skip the `solidus_auth_devise` part
134
- if you want to use a custom authentication system.
135
-
136
- ```ruby
137
- gem 'solidus'
138
- gem 'solidus_auth_devise'
139
- ```
140
-
141
- Run the `bundle` command to install.
142
-
143
- After installing gems, you'll have to run the generator to create necessary
144
- configuration files and migrations.
145
-
146
- ```bash
147
- bin/rails g spree:install
148
- ```
149
- </details>
113
+ ```bash
114
+ bundle add solidus
115
+ bin/rails g solidus:install
116
+ ```
150
117
 
118
+ And follow the prompt's instructions.
151
119
  ### Accessing Solidus Store
152
120
 
153
121
  Start the Rails server with the command:
@@ -238,6 +206,8 @@ and/or customizations to the Solidus admin. Use at your own risk.
238
206
  cd solidus
239
207
  ```
240
208
 
209
+ ### Without Docker
210
+
241
211
  * Install the gem dependencies
242
212
 
243
213
  ```bash
@@ -256,6 +226,60 @@ and/or customizations to the Solidus admin. Use at your own risk.
256
226
  bin/setup
257
227
  ```
258
228
 
229
+ ### With Docker
230
+
231
+ ```bash
232
+ docker-compose up -d
233
+ ```
234
+
235
+ Wait for all the gems to be installed (progress can be checked through `docker-compose logs -f app`).
236
+
237
+ You can provide the ruby version you want your image to use:
238
+
239
+ ```bash
240
+ docker-compose build --build-arg RUBY_VERSION=2.6 app
241
+ docker-compose up -d
242
+ ```
243
+
244
+ The rails version can be customized at runtime through `RAILS_VERSION` environment variable:
245
+
246
+ ```bash
247
+ RAILS_VERSION='~> 5.0' docker-compose up -d
248
+ ```
249
+
250
+ Running tests:
251
+
252
+ ```bash
253
+ # sqlite
254
+ docker-compose exec app bin/rspec
255
+ # postgres
256
+ docker-compose exec app env DB=postgres bin/rspec
257
+ # mysql
258
+ docker-compose exec app env DB=mysql bin/rspec
259
+ ```
260
+
261
+ Accessing the databases:
262
+
263
+ ```bash
264
+ # sqlite
265
+ docker-compose exec app sqlite3 /path/to/db
266
+ # postgres
267
+ docker-compose exec app env PGPASSWORD=password psql -U root -h postgres
268
+ # mysql
269
+ docker-compose exec app mysql -u root -h mysql -ppassword
270
+ ```
271
+
272
+ In order to be able to access the [sandbox application](#sandbox), just make
273
+ sure to provide the appropriate `--binding` option to `rails server`. By
274
+ default, port `3000` is exposed, but you can change it through `SANDBOX_PORT`
275
+ environment variable:
276
+
277
+ ```bash
278
+ SANDBOX_PORT=4000 docker-compose up -d
279
+ docker-compose exec app bin/sandbox
280
+ docker-compose exec app bin/rails server --binding 0.0.0.0 --port 4000
281
+ ```
282
+
259
283
  ### Sandbox
260
284
 
261
285
  Solidus is meant to be run within the context of Rails application. You can
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: 3.0.6
4
+ version: 3.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Solidus Team
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-06-01 00:00:00.000000000 Z
11
+ date: 2021-09-10 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: 3.0.6
19
+ version: 3.1.0
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: 3.0.6
26
+ version: 3.1.0
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: 3.0.6
33
+ version: 3.1.0
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: 3.0.6
40
+ version: 3.1.0
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: 3.0.6
47
+ version: 3.1.0
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: 3.0.6
54
+ version: 3.1.0
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: 3.0.6
61
+ version: 3.1.0
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: 3.0.6
68
+ version: 3.1.0
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: 3.0.6
75
+ version: 3.1.0
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: 3.0.6
82
+ version: 3.1.0
83
83
  description: Solidus is an open source e-commerce framework for Ruby on Rails.
84
84
  email: contact@solidus.io
85
85
  executables: []
@@ -96,7 +96,7 @@ homepage: http://solidus.io
96
96
  licenses:
97
97
  - BSD-3-Clause
98
98
  metadata: {}
99
- post_install_message:
99
+ post_install_message:
100
100
  rdoc_options: []
101
101
  require_paths:
102
102
  - lib
@@ -111,8 +111,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
111
111
  - !ruby/object:Gem::Version
112
112
  version: 1.8.23
113
113
  requirements: []
114
- rubygems_version: 3.2.31
115
- signing_key:
114
+ rubygems_version: 3.2.20
115
+ signing_key:
116
116
  specification_version: 4
117
117
  summary: Full-stack e-commerce framework for Ruby on Rails.
118
118
  test_files: []