Pdnode assumes no responsibility for any data loss, when you use unstable version The Pdnode Account is primarily used for Pdnode products, but it can still be applied to other products after modifications.
Since the version is not yet v0.1.0, the installation tutorial may contain errors! If you encounter any installation errors, please contact us through the Discord server!
Symbol Explanation
* = Source code installation only** = Docker installation only
Requisites
*Node.js >=22*pnpm >=10.13.x**Debian-based Distributions-
Other systems are not officially tested or supported, but you can still try using them.
-
*Macos / Linux-
Other systems are not officially tested or supported, but you can still try using them.
-
- 2 RAM least
- Debian >= 12
- Ubuntu >= 22
- Postgresql
We only support PostgreSQL. Other databases may work, but MySQL/MariaDB are strictly prohibited!
- Create database
- Create user
- Delete public and create account schema
- Permissions to create/read (usage) tables based on this user's account schema.
- Finish
For Mac and Linux
First clone the repository
git clone https://github.com/pdnode-team/account-backendThen, Enter the directory:
cd account-backendInstall dependencies
pnpm iBuild
pnpm buildInstall production item dependencies
cd build
pnpm i --prod
node ace migration:runRunning API server
node ./bin/server.jsWe now support Docker!
Prerequisites: Docker Engine
edit .env
nano .env
Please check the docker-compose.yml file to ensure all variables are set correctly.
start
docker compose up -d
The docker-compose .yml file may contain inaccuracies; please review it carefully.