Skip to content

Latest commit

 

History

History
62 lines (42 loc) · 1.31 KB

INSTALLATION.md

File metadata and controls

62 lines (42 loc) · 1.31 KB

Installation guide

  1. Fork this repository (Click "Fork" on top of this page)
  2. Clone repository
git clone https://github.com/swaponline/MultiCurrencyWallet.git
  1. Use Node 14

(For change Node version on Linux use nvm) (For Windows use nvm for Windows)

nvm install 14
nvm alias default 14
nvm use 14
  1. Install modules
cd MultiCurrencyWallet
npm i

(Windows? Use windows-build-tools.) (Linux? Install build-essential, g++, python and make)

  1. Start dev mode
npm run dev

or, if you feel confident

npm run dev:mainnet

The dev server is running! (http://localhost:9001)

To access from other devices on the local network, specify your IP address:

HOST=X.X.X.X npm run dev
  1. Build for prod
npm run build:mainnet https://yourcoolsite.com/

(You don't need execute "npm run dev" before this command). Done, your build is located in "mainnet-build" folder. just uplaod files to your hosting as static files. (for VPS - install nginx first, certbot for SSL)

(don't forget to add a slash in the end of url)

Remember: you MUST be online for swaps and you can not process more than one exchange at the same time.