1.0.49 • Published 5 years ago

@contiago/toolbar v1.0.49

Weekly downloads
1
License
MIT
Repository
gitlab
Last release
5 years ago

Quick start localy

  1. Make sure that you have Node.js v8.10 and npm v5 or above installed.
  2. Clone this repo using git clone --depth=1 https://gitlab.codex-soft.net/profundus/xml-content-server.git <YOUR_PROJECT_NAME>
  3. Move to the appropriate directory: cd <YOUR_PROJECT_NAME>, cd toolbar.
  4. Run npm install in order to install dependencies . At this point you can run npm start to see the example app at http://localhost:3000.
  5. Configure output channel "toolbar" on Shop, and copy received token.
  6. Insert this script with your token in index.html file <script defer id="contiago-toolbar" data-customer-token="<YOUR_TOKEN>" resource="STG"></script>
  7. If you need to use local backend go to config.json file and change stgContentServerHost to yor local host.

Now you're ready to rumble!

RELEASE

    1. Increase toolbar version in the package.json file.
    1. Increase toolbar version toolbarVersion in the ...backend/src/main/resources/application.properties.
    1. Build toolbar npm run build
    1. Write npm login on the toolbar folder. Enter login and pass from NPM acount.
    1. Write npm publish for publishing toolbar.
    1. Commit backend properties with new toolbar version.

HOW IT WORK

We insert script in index.html. Existing script have a link to downloads latestVersionSupplier. latestVersionSupplier this is the plugin that makes the request to the backend for the latest version toolbar, witch need download from NPM.

If you change latestVersionSupplier code, you nedd also release new latestVersionSupplier on the NPM(change version in package.json).

1.0.49

5 years ago

1.0.48

5 years ago

1.0.47

5 years ago

1.0.46

5 years ago

1.0.45

5 years ago

1.0.44

5 years ago

1.0.43

5 years ago

1.0.42

5 years ago

1.0.41

5 years ago

1.0.40

5 years ago

1.0.39

5 years ago

1.0.38

5 years ago

1.0.37

5 years ago

1.0.36

5 years ago

1.0.35

5 years ago

1.0.34

5 years ago

1.0.33

5 years ago

1.0.32

5 years ago

1.0.31

5 years ago

1.0.30

5 years ago

1.0.29

5 years ago

1.0.28

5 years ago

1.0.27

5 years ago

1.0.26

5 years ago

1.0.25

5 years ago

1.0.24

5 years ago

1.0.23

5 years ago

1.0.22

5 years ago

1.0.21

5 years ago

1.0.20

5 years ago

1.0.19

5 years ago

1.0.18

5 years ago

1.0.17

5 years ago

1.0.16

5 years ago

1.0.15

5 years ago

1.0.14

5 years ago

1.0.13

5 years ago

1.0.12

5 years ago

1.0.11

5 years ago

1.0.10

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago

0.0.13

5 years ago

0.0.12

5 years ago

0.0.11

5 years ago

0.0.10

5 years ago

0.0.9

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago