Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

    ErrorLog logs/viniswap.costaflores.com.error.log
</VirtualHost>


Install NVM to upgrade NODE to an exact version

First install NVM:

[root@echo viniswap]# curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 12819 100 12819 0 0 17974 0 --:--:-- --:--:-- --:--:-- 17953
=> Downloading nvm from git to '/root/.nvm'
=> Cloning into '/root/.nvm'...
remote: Enumerating objects: 267, done.
remote: Counting objects: 100% (267/267), done.
remote: Compressing objects: 100% (242/242), done.
remote: Total 267 (delta 31), reused 80 (delta 15), pack-reused 0
Receiving objects: 100% (267/267), 119.47 KiB | 0 bytes/s, done.
Resolving deltas: 100% (31/31), done.
=> Compressing and cleaning up git repository

...

[root@echo viniswap]# nvm install 10.18
Downloading and installing node v10.18.1...
Downloading https://nodejs.org/dist/v10.18.1/node-v10.18.1-linux-x64.tar.xz...
######################################################################## 100,0%
Computing checksum with sha256sum
Checksums matched!
Now using node v10.18.1 (npm v6.13.4)
Creating default alias: default -> 10.18 (-> v10.18.1)
[root@echo viniswap]# node -v
v10.18.1
[root@echo viniswap]#

Install YARN

[root@echo viniswap]# curl -sL https://dl.yarnpkg.com/rpm/yarn.repo | sudo tee /etc/yum.repos.d/yarn.repo
[yarn]
name=Yarn Repository
baseurl=https://dl.yarnpkg.com/rpm/
enabled=1
gpgcheck=1
gpgkey=https://dl.yarnpkg.com/rpm/pubkey.gpg

...

¡Listo!
[root@echo viniswap]# yarn -v
1.21.1
[root@echo viniswap]#

Install VINISWAP

Follow instruccions of GitHub proyect on https://github.com/OpenVino/viniswap

...

[root@echo viniswapMTB18]# yarn install

Start VINISWAP

[root@echo viniswapMTB18]# yarn start

Install VINISWAP for MTB19

Go to /opt/viniswap/ forder and clone again the project.

...