solidus_nexio 0.6.4 → 0.6.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dbe5b98d267cca42954cff439dfe8940696d5d8a1cf423575dff2a77857a7e85
4
- data.tar.gz: '09b7905399815793088832d956bb17fd4a35409bddd7a90a9809100dc8931149'
3
+ metadata.gz: 97dbb5f4527c8a4b5651690fa36afca688aecc5aefb6d759ad7465c1114f95e0
4
+ data.tar.gz: f9d986a696470eb10cf8f9f543116ed8e6d3ad40f936c2d61c33d485804720cf
5
5
  SHA512:
6
- metadata.gz: 8a9ef621d9781f7cb4b51460812ffdf56a77a91f1b546bb052ee39871ec425cf17f57180ab4c154522913f6970d3918ccf62644a29d6d541c036f2fb9ea530e3
7
- data.tar.gz: d3ee5da88ee22a666166e08b6ec782b832c51c30ce2af68267deb8f0306e95ddebc0a20cec52d8e927198db30b769b46c6ee4b85985bda94208aa5dc5fd07e2a
6
+ metadata.gz: 1fcbdd5cbfcc61ea3365b73231979aa1725d431fe1f3dd6e27f6454b5863f05314a0e57f60eeabf29b26faa9ef5b1d9edc06b8bb586c2fed9162ef5bb4420901
7
+ data.tar.gz: fa70fe17dff715516a260691be5be20f32e13a5c42b2fd5c6de3efeff6e1eade9799baccb4d44819035797de24e8ead6f64c9016b8cb48aa7cd4c37d7c44506c
data/README.md CHANGED
@@ -24,11 +24,24 @@ Or install it yourself as:
24
24
 
25
25
  TODO: Write usage instructions here
26
26
 
27
- ## Development
27
+ ## Frontend Development
28
28
 
29
- After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
29
+ 1. Set the `development` mode for the webpacker in line #22 of `webpack.config.js`
30
+ ```
31
+ mode: 'development',
32
+ ```
33
+ 2. Add the gem as a local one in your app `Gemfile`
34
+ ```
35
+ gem 'solidus_nexio', path: '~/apps/solidus_gems/solidus_nexio'
36
+ ```
37
+
38
+ 2. Uncomment the line #45 in `app/helpers/solidus_nexio/checkout_helper.rb`
39
+ ```
40
+ `cd #{::SolidusNexio.gem_dir}; yarn webpack --config webpack.config.js` if Rails.env.development?
41
+ ```
30
42
 
31
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
43
+ 3. Reload the page you're debugging after any change in a js-file.
44
+ 4. *Nota Bene* -> Revert all changes above after your development is completed.
32
45
 
33
46
  ## Contributing
34
47