0xDiscord is a web3 oriented rewarding community project.
# npm install
curl -O -L https://npmjs.org/install.sh
# nvm node version manager install (recommend)
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
# node version 16
nvm install 16
nvm use 16
-
python install
-
development environment
pip v22.0.3 python v3.9
cd ui
npm ci
npm run start
# if you need configuration
cd ui/src/config/config.json
vi config.json
cd api
## package install
pip insatll -r requirements.txt
## configuration before start
cd api/config
### db configuration
cd api/config
vi db_secrets.json
### web3 configuration
cd api/config
vi web3_secrets.json
## api server start
uvicorn main:app --reload
## server start
uvicorn main:app --reload
## view document open
open serverurl:port/docs
0XDiscord is MIT licensed