Make sure your system meets these requirements before you set up a PayID server.
- RAM: Minimum of 100 MB
- Postgres: 11.7 or later, with pgpool-II in front
- Node.js version: 12 or later
Before you begin, make sure that you have installed Postgres locally, or in an otherwise accessible location.
Clone the PayID repo.
git clone https://github.com/payid-org/payid.git && cd payid
Generate the build files in
build/*(app code + SQL scripts).
npm run build
Start PayID. The
npm run startcommand generates the schema if it does not yet exist.DB_HOSTNAME=localhost DB_NAME=dev_payid DB_USERNAME=payid_devDB_PASSWORD='xxxxx' npm run start
To make sure PayID runs continuously, run PayID through a tool like
npm install forever -g
Run PayID with
forever.DB_HOSTNAME=localhost DB_NAME=dev_payid DB_USERNAME=payid_devDB_PASSWORD='xxxxx' forever start build/src/index.js