git clone https://github.com/golos-blockchain/chainbb-frontend
cd chainbb-frontend
After cloning project with Git, you have 2 files - config.js and configSecure.js in chainbb-frontend folder.
"Main idea" is what you can replace "GolosTalk" in config.js and configSecure.js with your actual forum name.
But there are also some manipulations required to deploy chainBB on your server. They are described below.
You should set REST_API to your URL with 5000 port where chainbb-rest should run. Example: http://127.0.0.1:5000.
You should set account to account which should be used as creator of new accounts, referer to account which should be used as referer for them, signing_key to active private key of account, and gmail_send to some @gmail.com mailbox which should be used as sender of registration emails (pass should be an application password, not just password of your mailbox).
chainbb-rest runs on 5000 port, and main chainbb site runs on http://localhost:3000
There are 3 ways to deploy.
Requires Docker and Docker Compose.
docker-compose up
Requires Docker.
sudo docker build -t local/chainbb-rest -f server/Dockerfile .
sudo docker run -d -p 5000:5000 --name chainbb-rest local/chainbb-rest
sudo docker build -t local/chainbb -f Dockerfile .
sudo docker run -d -p 3000:3000 --name chainbb local/chainbb
Requires Node.js 16 or newer.
cd server
npm install
node index.js & disown
cd ..
npm install --global gulp-cli
npm install
npm start
Use fix_stats tool.
Content type
Image
Digest
sha256:15fdec083…
Size
127.4 MB
Last updated
about 3 years ago
docker pull golosblockchain/forum-ui