solidus_nexio 0.6.4 → 0.6.6

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: aea764bbf307b39527d328ab148239c95606f93a35388e4ae6833d995fd1a863
4
+ data.tar.gz: 5502b4c79c8e57ba889960fa9af786048d69d114d871a3b0660e1c0147a629aa
5
5
  SHA512:
6
- metadata.gz: 8a9ef621d9781f7cb4b51460812ffdf56a77a91f1b546bb052ee39871ec425cf17f57180ab4c154522913f6970d3918ccf62644a29d6d541c036f2fb9ea530e3
7
- data.tar.gz: d3ee5da88ee22a666166e08b6ec782b832c51c30ce2af68267deb8f0306e95ddebc0a20cec52d8e927198db30b769b46c6ee4b85985bda94208aa5dc5fd07e2a
6
+ metadata.gz: a93c517127899f12d30d6a4d7b450a7d66bd6f9869eaf64eb2d1532737c614613b0378c5aa403286d45aedc42b01a0d43e9f2ffc4180525df6ee7d85af08e0d4
7
+ data.tar.gz: 7e2b2e8c9f661cdca9a999bb2d5f139092d58871ed170d8865aba4f09485a7716c6bd24395eebf2a9713f6f18ff0620cbc77da0b4ea0907d1559de286315b260
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