diff --git a/INSTALL.md b/INSTALL.md index a6476419..ca24e396 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -31,10 +31,18 @@ Use Postgres.app: https://postgresapp.com/ **psql** is automatically installed. You won't need to set up users. +## NodeJS + +``` +curl -L https://git.io/n-install | bash -s -- -y lts +. ~/.bash_profile +``` + # Installation ## Install node modules -Ignore any warnings. + +Make sure you're running the LTS version of NodeJS. Ignore any warnings. ``` npm install @@ -77,7 +85,7 @@ node bin/lamassu-admin-server --dev Paste the URL from lamassu-register exactly as output, into a browser (chrome or firefox). -**Important**: the host must be localhost. Tell your browser to trust the certificate even though it's not signed by a CA. +**Important**: the host must be localhost. Tell your browser to trust the certificate even though it's not signed by a recognized CA. Go to all the required, unconfigured red fields and choose some values. Choose mock services whenever available. diff --git a/README.md b/README.md index 91053371..605a4c06 100644 --- a/README.md +++ b/README.md @@ -1,29 +1,12 @@ -This is part of the **Raqía** Bitcoin Machine platform. - # lamassu-server Lamassu remote server. ## Installation -```sh -git clone git@github.com:lamassu/lamassu-server.git -cd lamassu-server -npm install -``` - -## Configuration - -```bash -bin/ssu config smtp2go user pass fromEmail toEmail -bin/ssu config twilio accountSid authToken fromNumber toNumber -bin/ssu set sms twilio -bin/ssu set email smtp2go -bin/ssu notify [email] [sms] # send email or sms alerts, or both -bin/ssu config notifier lowBalanceThreshold # set low balance alert, in fiat -``` +See INSTALL.md ## Running -```sh -node lib/app.js +```bash +node bin/lamassu-server --mockSms ```