Skip to content

Latest commit

 

History

History
58 lines (40 loc) · 1.08 KB

INSTALLATION.md

File metadata and controls

58 lines (40 loc) · 1.08 KB

Installation guide

  1. Fork this repository (Click "Fork" on top of this page)
  2. Clone repository
git clone https://github.com/kryptoken101/krypt-swap.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 krypt-swap
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://mywebsite.com/

(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.